Oooh I'm sorry , use : gcc-4.4.3 as u will , i don't test if gcc-4.5.1 will be compatible with other packages .So it's better to use gcc-4.4.3 . Adjust command to be for gcc-4.4.3 instead of gcc-4.5.1 . ---Fady > Date: Mon, 6 Dec 2010 16:04:46 -0500 > Subject: Re: error: fenv.h: No such file or directory > From: piper.g...@gmail.com > To: lfs-support@linuxfromscratch.org > > The 6.6. book calls for gcc-4.4.3. Is it necessary to use gcc-4.5.1 > instead? If so, is gcc-4.5.1 compatible with the rest of the packages > in 6.6? > > /carl h. > > 2010/12/6 Fady Fawzy <fadyfaw...@hotmail.com>: > > Hello, > > > > Ensure that your command using --disable-multilib & --disable-decimal-float > > options. > > > > So the whole command must be in this form : > > > > ../gcc-4.5.1/configure \ > > > > --target=$LFS_TGT --prefix=/tools \ > > > > --disable-nls --disable-shared --disable-multilib \ > > > > --disable-decimal-float --disable-threads \ > > > > --disable-libmudflap --disable-libssp \ > > > > --disable-libgomp --enable-languages=c \ > > > > --with-gmp-include=$(pwd)/gmp --with-gmp-lib=$(pwd)/gmp/.libs \ > > > > --without-ppl --without-cloog > > > > Before using this command ,please use ../gcc-4.5.1/make clean , then use > > this command and then make ,make install ,& symlink command in the book. > > > > --Fady > > > > > >> Date: Sun, 5 Dec 2010 21:21:21 -0500 > >> Subject: error: fenv.h: No such file or directory > >> From: piper.g...@gmail.com > >> To: lfs-support@linuxfromscratch.org > >> > >> Got this error well into the compilation of GCC-4.4.3 Pass 1. I'm using > >> LFS 6.6. > >> > >> ----------------------------------- > >> make[2]: Entering directory `/mnt/lfs/gcc_build/i686-lfs-linux-gnu/libgcc' > >> # If this is the top-level multilib, build all the other > >> # multilibs. > >> /mnt/lfs/gcc_build/./gcc/xgcc -B/mnt/lfs/gcc_build/./gcc/ > >> -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ > >> -isystem /tools/i686-lfs-linux-gnu/include -isystem > >> /tools/i686-lfs-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC > >> -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings > >> -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual > >> -Wold-style-definition -isystem ./include -fPIC -g -DIN_LIBGCC2 > >> -D__GCC_FLOAT_N OT_NEEDED -Dinhibit_libc -I. -I. -I../.././gcc > >> -I../../../gcc-4.4.3/libgcc -I../../../gcc-4.4.3/libgcc/. > >> -I../../../gcc-4.4.3/libgcc/../gcc > >> -I../../../gcc-4.4.3/libgcc/../include > >> -I../../../gcc-4.4.3/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT > >> -DHAVE_CC_TLS -DUSE_TLS -o bid_decimal_globals.o -MT > >> bid_decimal_globals.o -MD -MP -MF bid_decimal_globals.dep -c > >> ../../../gcc-4.4.3/libgcc/config/libbid/bid_decimal_globals.c > >> ../../../gcc-4.4.3/libgcc/config/libbid/bid_decimal_globals.c:47:18: > >> error: fenv.h: No such file or directory > >> --------------------------------------------------- > >> > >> Googling this error suggests that I should use the > >> --disable-decimal-float option, which of course I did as the book says > >> to use. > >> > >> Any help would be appreciated. > >> > >> thanx > >> /carl h. > >> -- > >> http://linuxfromscratch.org/mailman/listinfo/lfs-su pport > >> 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
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page