when compiling gcc 1st time on LFS get error
I imputed the commands verbatim and I did not have a new-ld after compiling binutils. The commands say to clean up the make enviroment and then copy the new -ld file.
make -C ld clean make -C ld LIB_PATH=/tools/lib cp -v ld/ld-new /tools/bin So I looked for an explaination and finding none decided to skip that part and move on to compiling gcc. I then came to these commands and put them in CC="gcc -B/usr/bin/" ../gcc-4.3.2/configure --prefix=/tools \ --with-local-prefix=/tools --disable-nls --disable-shared --disable-libssp \ --enable-languages=c make It ran for 10 minutes or so then exited with an error 2 I'm on a different computer so I don't have the trace with me but I can get it if needed. I was wondering if I did something wrong and If I can just delete the directory's and rebuild binutils? |
Hi, welcome to LQ!
We'll at least need to see the error message, preferably including the last 5-6 lines before the first error as well. Cheers, Tink |
error 1
make[1]: leaving directory
'/mnt/lfs/tools/bin-build/binutils-2.17/build_i686-pc-linux-gnu/fixincludes' configuring in ./intl /mnt/lfs/gccbuild/gcc/intl/conf; line 975: config.Log: Permission Denied make[1]: *** [configure intel] error: 1 this is about the last 5 lines |
Quote:
Cheers, Tink |
Quote:
Some ( 2000 hours ? ) experience in *nix software building was expected by the author. Skipping things will cause errors and possibly make an OS being a mix of the host system and the new files. ..... |
I tried to follow the book word for word, Do you know of any books that might be useful?
|
All times are GMT -5. The time now is 11:03 AM. |