LFS-5.0 GCC problem with binutils-2.14 pass 1
Im sort of having a problem with compiling binutils-2.14 pass 1 for a LFS-5.0 installation. I am curently using RedHat 9.0 to compile the new LFS system with its basic gcc rpm. Now everytime i inflict the command "../binutils-2.14/configure --prefix=/tools --disable-nls".... i get this error message:
gcc: installation problem, cannot exec `as': Too many levels of symbolic links *** The command 'gcc -o conftest -O2 conftest.c' failed. *** You must set the environment variable CC to a working compiler. Which i would think is gcc needing to be linked to cc... so.... i performed a "ln -s gcc cc" in /usr/bin..... still having same problem... and i think the as problem is the assembler which ive read around..... any info would be greatly appreciated.. .thanks in advance... |
Re: LFS-5.0 GCC problem with binutils-2.14 pass 1
Quote:
|
thanks for the reply..... i just have one questions, how would i go about unlinking "as" from itself...
|
the as in question would be /usr/bin/as
Check to make sure it is a symlink. If so, remove it. You may to reinstall the binutils package using your distribution's package manager to get everything installed properly again. |
Question on LFS 5.4
In the Linux from scratch book I didn't get this command to work. I couldn't figure out where ld-new came from and what exactly this command is doing.
cp -v ld/ld-new /tools/bin Install the package: make install Next, prepare the linker for the “Adjusting” phase later on: make -C ld clean make -C ld LIB_PATH=/tools/lib cp -v ld/ld-new /tools/bin |
Quote:
"$ make -C ld clean make: *** ld: No such file or directory. Stop." "$ cp -v ld/ld-new /tools/bin cp: cannot stat `ld/ld-new': No such file or directory" Anyone know what this is about? |
@drumguy1384: This is a very old thread (10th Nov 2003, 19:12) and deals with LFS 5, not LFS 6.X
If you have a problem please open a new thread, give the appropriate information (LFS version, problem chapter, problem and the last 10-15 lines of the error). |
All times are GMT -5. The time now is 02:08 PM. |