LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS: gcc from wrong location??? (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-gcc-from-wrong-location-202481/)

7.e.Q 07-08-2004 02:55 AM

LFS: gcc from wrong location???
 
Hello lfs people...

got a confusing problem. What does that tell you:

Code:

lfs:~$ echo $PATH
/toolchain/bin:/bin:/usr/bin
lfs:~$ whereis gcc
gcc: /usr/bin/gcc /opt/gcc-2.95.3/bin/gcc
lfs:~$ ls /toolchain/bin/gcc -l
-rwxr-xr-x    3 lfs      100        152450 Jul  8 08:17 /toolchain/bin/gcc

This tells me that my system is using gcc from /usr/bin instead of the one located in /toolchain/bin/gcc. :scratch:

Well, I get an error near chapter 5 which is possibly caused by this and need your help to be able to continue.

Would be great if somebody could help me.

Thanx in advance

Greetings from Germany


EDIT: seems to be alright! see other thread!


All times are GMT -5. The time now is 01:43 AM.