gcc problems

Gerard Beekmans gerard at linuxfromscratch.org
Sun Jul 30 19:18:56 PDT 2000



> I have just got to the part where I chroot into the new filesys and install
> gcc, but it says this:
> 
> ***You must set the enviroment varible CC to a working compiler.
> 
> whats wrong? do I just do a "export CC=/path/to/cc" ?

After you installed the static GCC version you should have created the
$LFS/usr/bin/cc symlink that points to $LFS/usr/bin 
execute this:
cd $LFS/usr/bin
ln -s gcc cc

or do it from within chroot with;
cd /usr/bin
ln -s gcc cc



-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list