LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-17-2008, 06:10 AM   #1
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

Rep: Reputation: 31
error compiling binutils


i got this error

Code:
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:  
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ../binutils-2.18/config.sub   failed
what am i doing wrong whit?
Code:
CC="gcc -B/usr/bin/" ../binutils-2.18/configure \    --prefix=/tools --disable-nls --disable-werror
 
Old 12-18-2008, 02:06 AM   #2
madhava_kulkarni1986
LQ Newbie
 
Registered: Dec 2008
Posts: 11

Rep: Reputation: 0
Quote:
Originally Posted by R03L View Post
i got this error

Code:
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:  
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ../binutils-2.18/config.sub   failed
what am i doing wrong whit?
Code:
CC="gcc -B/usr/bin/" ../binutils-2.18/configure \    --prefix=/tools --disable-nls --disable-werror

use --build=OS_UR_BUILDING_ON ex:GNU/Linux for x86 64bit,
use:-
uname -o
to know it..
 
Old 12-18-2008, 02:41 AM   #3
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
use --build=OS_UR_BUILDING_ON ex:GNU/Linux for x86 64bit,
use:-
uname -o
to know it..
@R03L - not sure what you're doing wrong here but you shouldn't have to supply the --build option to configure.
 
Old 12-18-2008, 04:10 PM   #4
R03L
Member
 
Registered: Feb 2008
Distribution: mepis, ubuntu server ed. Debian. Redhat. Fedora, centos, LFS
Posts: 211

Original Poster
Rep: Reputation: 31
Thank you,
 
  


Reply

Tags
binutils, compilation, compile, cross, error, failed, from, lfs, linux, scratch


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
Problem compiling binutils m4mach Linux From Scratch 9 11-13-2013 06:20 PM
error compiling GNU-ARM binutils leedude Programming 2 11-24-2008 05:38 AM
problem with compiling the binutils MabFan Linux From Scratch 0 07-31-2007 12:28 PM
errors while compiling binutils 2.16.1 sharathg786 Linux From Scratch 4 05-14-2007 05:32 AM
almost finishied compiling binutils peok Linux From Scratch 2 10-14-2004 09:55 AM


All times are GMT -5. The time now is 07:50 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration