LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   error compiling binutils (http://www.linuxquestions.org/questions/linux-from-scratch-13/error-compiling-binutils-691174/)

R03L 12-17-2008 05:10 AM

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

madhava_kulkarni1986 12-18-2008 01:06 AM

Quote:

Originally Posted by R03L (Post 3378382)
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..

bgeddy 12-18-2008 01:41 AM

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.

R03L 12-18-2008 03:10 PM

Thank you, :)


All times are GMT -5. The time now is 08:39 AM.