Greg Schafer wrote:
> Jeremy Huntwork wrote:
> 
>> I've done a test. Hopefully I made the correct assumptions here:
>>
>> * Build as per usual up to gcc-pass2
>>
>> * Build gcc-pass2 according to instructions *execpt* do not add 
>> -fomit-frame-pointer to XCFLAGS in gcc/Makefile.in
> 
> ???
> 
> Um, you have it arse about dude. You need to *add* -fomit-frame-pointer to
> avoid differences. That's the whole point of the exercise. This was all
> explained in graphic detail here:

*sigh* Are you sure you're not reading my post backwards?

-fomit-frame-pointer *is* added by default to gcc-pass2, when we're 
*not* bootstrapping, so, the default instructions on pass2 include 
-fomit-frame-pointer and --disable-bootstrap.

To test the above against a bootstrapped build, I removed the 
-fomit-frame-pointer, (because in a bootstrap build it is there by 
default, yes?) and I removed the --disable-bootstrap flag.

The above should produce identical compilers right?

--
JH
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to