Visit Jeremy's Blog.
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 11-23-2004, 06:47 PM   #1
LQ Newbie
Registered: Nov 2004
Location: NL
Posts: 2

Rep: Reputation: 0
LFS install trouble -- using debian sarge as host

Hallo! I am trying to create my first LFS 5.1.1
I downloaded all the correct packages with the patches and I am trying to
compile gcc-3.3.3 with no luck

fs@debian-lfs:/mnt/lfs/sources/gcc-build$ ../gcc-3.3.3/configure --prefix=/tools     --with-local-prefix=/tools     --disable-nls --enable-shared     --enable-languages=c
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /mnt/lfs/sources/gcc-build using "mt-frag"
/tools/bin/ld: unrecognized option '--as-needed'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
*** The command '/usr/bin/gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

I am using Linux version 2.4.27-1-386 (joshk@trollwife) (gcc version 3.3.4 (Debian 1:3.3.4-9)) #1 Fri Sep 3 06:24:46 UTC 2004

Can someone help me ?

I have read the guid for 2 days and searching

Last edited by gremesh; 11-23-2004 at 06:57 PM.
Old 11-23-2004, 07:53 PM   #2
LQ Newbie
Registered: Nov 2004
Location: NL
Posts: 2

Original Poster
Rep: Reputation: 0
Found the solution, I hope use the Binutils ( used in the version lfs 6 insted of the binutils-2.14 and you are OK I just


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
debian sarge + lfs + blfs good idea? FireFox8173 Linux From Scratch 3 08-03-2006 09:16 AM
Trouble installing Debian Sarge. duffmckagan Debian 15 10-20-2005 12:14 PM
A host of Debian Sarge install questions... Hosiah Debian 7 06-20-2005 04:03 AM
Trouble booting a new RAID0 machine with Debian sarge miggins Linux - Hardware 1 12-01-2004 01:27 AM
LFS install trouble -- using Knoppix 3.6 as host hell_carnage Linux From Scratch 3 11-18-2004 08:09 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 03:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration