Yep, that got it, question is now, why in the book is it commented out by default? I could see it if there was a comment to say uncomment this line after you modify your -march= section (in case someone is running say i486) but by default, especially for someone who is learning, anyway, thats my rant on the topic.
I love LFS, I get to learn more each time I play with it. Awesome job guys with the books, keep up the great job. Trell Joseph Oaks <[EMAIL PROTECTED]> wrote: >Bauke Jan Douma <[EMAIL PROTECTED]> wrote: >>Joseph Oaks wrote on 05-01-07 06:37: >> >>>> cd ./config/imake && make -f Makefile.proto imakeonly >>>> make[2]: Entering directory `/sources/xc-build/config/imake' >>>> gcc DefaultGcc2i386Opt -I../../include -I../../exports/include/X11 >>>> -I../.. -I../../exports/include -Dlinux -D__i386__ >>>> -D_POSIX_C_SOURCE=199309L >>-D_POSIX_SOURCE >>>> -D_XOPEN_SOURCE >>>> -D_BSD_SOURCE -D_SVID_SOURCE >>-D_GNU_SOURCE >>>> -DFUNCPROTO=15 >>>> -DNARROWPROTO -DCPP_PROGRAM="\"cpp\"" -DHAS_MERGE_CONSTANTS=`if >gcc >>>> -fmerge-constants -xc /dev/null -S -o /dev/null 2> /dev/null 1> >>/dev/null; >>>> then echo 1; else echo 0; fi` -c -o imake.o imake.c >>>> gcc: DefaultGcc2i386Opt: No such file or directory >>>> make[2]: *** [imake.o] Error 1 >>>> make[2]: Leaving directory `/sources/xc-build/config/imake' >>>> make[1]: *** [imake.bootstrap] Error 2 >>>> make[1]: Leaving directory `/sources/xc-build' >>>> make: *** [World] Error 2 >> >> >> >>DefaultGcc2i386Opt seems to me an option in one of the config files, >>probably host.def(?). That's got to be set to some sane value, like >>maybe `-O2 -fno-strength-reduce'; chances are it's accidentaly >>commented out right now; should be something like: >>#define DefaultGcc2i386Opt -O2 -fno-strength-reduce >> >I copied the host.def from the book, copy paste so... >the current line reads... >/* #define DefaultGcc2i386Opt -02 -fomit-frame-pointer -march=i686 */ >I should take out the /* and */ part right? > > >>gcc version shouldn't matter. >> >> >>bjd >> >> >> >>-- >>http://linuxfromscratch.org/mailman/listinfo/lfs-support >>FAQ: http://www.linuxfromscratch.org/lfs/faq.html >>Unsubscribe: See the above information page >> >> > > >-- >http://linuxfromscratch.org/mailman/listinfo/lfs-support >FAQ: http://www.linuxfromscratch.org/lfs/faq.html >Unsubscribe: See the above information page > > -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
