LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 09-20-2007, 07:57 AM   #1
fadelhomsi
Member
 
Registered: Dec 2005
Location: Syria
Distribution: Suse, Mandriva
Posts: 52

Rep: Reputation: 15
GCC -4.0.3 isn't being compiled compiler cannot create executables.


Hello
while I am trying to compile gcc-4.0.3 this error happened with me


lfs:/mnt/hdd6/sources/gcc-build$ ../gcc-4.0.3/configure
--prefix=$LFS/tools --with-local-prefix=$LFS/tools
--disable-nls --enable-shared --enable-languages=c
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

what is the problem and how it can be solved??
thanks so much
 
Old 09-22-2007, 06:21 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Hi,

I assume that you are building LFS 6.3 and I also assume that you are still in chapter 5 (please provide this info next time ).

I've seen this error more then once and most of the time it has to do with not meeting the Host System Requirements.

Hope this helps.
 
Old 10-15-2007, 01:47 AM   #3
fadelhomsi
Member
 
Registered: Dec 2005
Location: Syria
Distribution: Suse, Mandriva
Posts: 52

Original Poster
Rep: Reputation: 15
thanks so much
I 'll check my system
 
  


Reply


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
gcc c cross compiler to create linux executables on a windows system Wanda Tinasky Programming 1 02-25-2007 09:36 AM
gcc gives error C compiler cannot create executables ADD Linux - Newbie 6 01-03-2006 05:43 AM
c compiler cannot create executables karphead Slackware 8 09-30-2005 10:20 PM
C++ compiler cannot create executables notmatt Linux - Newbie 4 09-30-2004 07:59 AM
C compiler cannot create executables inanna Linux - Newbie 1 05-01-2004 01:42 AM


All times are GMT -5. The time now is 08:45 PM.

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