Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 07-08-2004, 02:55 AM   #1
LQ Newbie
Registered: Nov 2003
Posts: 25

Rep: Reputation: 15
LFS: gcc from wrong location???

Hello lfs people...

got a confusing problem. What does that tell you:

lfs:~$ echo $PATH
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.

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!

Last edited by 7.e.Q; 07-08-2004 at 03:31 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LFS without gcc and glibc nazir Linux From Scratch 5 08-05-2005 11:23 AM
dir.h io.h location in gcc elena Linux - Software 2 01-18-2005 11:31 AM
gcc not working after LFS 6.0 ch 6.61 Barnette Linux From Scratch 1 01-11-2005 09:19 PM
Something terribly went wrong with install of lfs.. near chp.5 Zero-0-Effect Linux From Scratch 2 03-12-2004 06:45 AM
GCC error when compiling it for LFS safrout Linux From Scratch 1 06-14-2003 06:16 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration