LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-18-2006, 04:39 AM   #1
Lunar_Lamp
LQ Newbie
 
Registered: Jan 2006
Posts: 15

Rep: Reputation: 0
Error building GCC


Hi there

Decided, on a whim really, to try LSF. Anyway, all was progressing nicely and I was learning as I went (I'm fairly new to the Linux World). However, when trying to sort out GCC in chapter 5 of the LS book, I get the following error:

lfs@Ed-Suse-MEGA180:/mnt/lfs/sources/gcc-build> ../gcc-3.4.3/configure --prefix=/tools \ --libexecdir=/tools/lib --with-local-prefix=/tools \ --disable-nls --enable-shared --enable-languages=c
configure: warning: --libexecdir=/tools/lib: invalid host type
configure: error: can only configure for one host and one target at a time

I'd really appreciate if someone could point me in the right direction. I also note that the book does notgive an explanation of the --libexecdir option, which would interest me!

Build system, in case it is of import, is SuSE 10.0. I have not deviated from the book, as this is my first time at LSF, and so I have followed the advice to follow the book exactly!

Thanks.

Edit - I have realised that SuSE 10.0 uses GCC 4.0, which it appears elsewhere is not recommended - could this be where my problem lies? Just to clarify, this is pass 1 at GCC, in chapter 5.

Last edited by Lunar_Lamp; 01-18-2006 at 05:23 AM.
 
Old 01-18-2006, 05:30 AM   #2
freegianghu
Member
 
Registered: Oct 2004
Location: somewhere in the street
Distribution: Window$
Posts: 192

Rep: Reputation: 30
Try to remove all "\"

Code:
lfs@Ed-Suse-MEGA180:/mnt/lfs/sources/gcc-build> ../gcc-3.4.3/configure --prefix=/tools \ --libexecdir=/tools/lib --with-local-prefix=/tools \ --disable-nls --enable-shared --enable-languages=c
 
  


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
Error building cross gcc-3.3.2 for i386-mingw32msvc target ugenn Linux - Software 2 10-05-2012 02:33 AM
building gcc slackware jakiel Linux - Newbie 5 01-30-2007 07:19 PM
Problem building Mozilla 1.7 with GCC 3.4.1 DocMarco Linux - Software 1 07-06-2004 10:53 AM
building gcc under cygwins Laplace Linux - General 0 11-12-2003 01:40 AM
Building GCC natesch Linux - Newbie 4 05-09-2002 12:38 AM


All times are GMT -5. The time now is 07:03 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