BLFS, XFree86 v4.5.0 (correction on the version) sorry typo
trell at trells.com
Fri Jan 5 00:03:26 PST 2007
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.
Joseph Oaks <trell at trells.com> wrote:
>Bauke Jan Douma <bjdouma at xs4all.nl> wrote:
>>Joseph Oaks wrote on 05-01-07 06:37:
>>>> cd ./config/imake && make -f Makefile.proto imakeonly
>>>> make: Entering directory `/sources/xc-build/config/imake'
>>>> gcc DefaultGcc2i386Opt -I../../include -I../../exports/include/X11
>>>> -I../.. -I../../exports/include -Dlinux -D__i386__
>>>> -D_BSD_SOURCE -D_SVID_SOURCE
>>>> -DNARROWPROTO -DCPP_PROGRAM="\"cpp\"" -DHAS_MERGE_CONSTANTS=`if
>>>> -fmerge-constants -xc /dev/null -S -o /dev/null 2> /dev/null 1>
>>>> then echo 1; else echo 0; fi` -c -o imake.o imake.c
>>>> gcc: DefaultGcc2i386Opt: No such file or directory
>>>> make: *** [imake.o] Error 1
>>>> make: Leaving directory `/sources/xc-build/config/imake'
>>>> make: *** [imake.bootstrap] Error 2
>>>> make: 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.
>>Unsubscribe: See the above information page
>Unsubscribe: See the above information page
More information about the lfs-support