LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-23-2004, 05:47 PM   #1
gremesh
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

l
Code:
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 05:57 PM.
 
Old 11-23-2004, 06:53 PM   #2
gremesh
LQ Newbie
 
Registered: Nov 2004
Location: NL
Posts: 2

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration