This is the mail archive of the
crossgcc@cygnus.com
mailing list for the crossgcc project.
Error in the building the Cross-Compiler: xgcc
- To: crossgcc@cygnus.com
- Subject: Error in the building the Cross-Compiler: xgcc
- From: mzlai@263.net
- Date: 25 Jun 1999 04:11:59 -0000
- Reply-To: crossgcc@cygnus.com
Hi ;
I am doing my cross-compiler for a embedded system.
I use the following:
binutils-2.9.1
egcs-1.1.2
newlib-1.8.1.
My working directory is "/home/tools",and the directory structure as
following:
/home/tools/binutils-2.9.1
/home/tools/egcs-1.1.2
/home/tools/newlib-1.8.1
then I run the shell program :
cd /home/tools
target=arm-coff
prefix=/usr/local/arm
mkdir build-binutils
mkdir build-gcc
mkdir build-newlib
cd build-binutils
../binutils-2.9.1/configure --target=$target --prefix=$prefix
make all install
cd ../build-gcc
../egcs-1.1.2/configure --target=$target --prefix=$prefix
--with-gnu-as --with-gnu-ld
make cross install
cd ../build-newlib
../newlib-1.8.1/configure --target=$target --prefix=$prefix
make all install
exit
When I run the shell program , errors evoked.Maybe it was running
in the second step----"make cross the egcs" when the error came.
On the console,It prints:
checking whether we are using GNU C... yes
checking whether /home/tools/build-gcc/gcc/xgcc --B/home/tools/build-gcc/gcc accepts -g... yes
checking for POSIXized ISC.. no
checking for a BSD compatible install... /usr/bin/install -c
x host-mkfrag is unchanged.
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for stdlib.h... yes
checking for unistd.h .. yes
checking whether the C compiler (/home/tools/build-gcc/gcc/xgcc
-B/home/tools/build-gcc/gcc/ -g )work.... no
configure : error : installation or configuration problem: C compiler cannot create executables.
make[1]: ***[configure-target-libiberty] Error1
make[1]: Leaving directory '/home/tools/build-gcc'
make: ***[cross] Error2
then the program exited.I don't know where is the error happened and what is the reasons.Maybe the "xgcc" is the key of the problem!
Ask for help from the all the experts!
Thanks!
Yours MZLai
Jan 25,1999
_____________________________________________
首都在线--先进中国人的网上家园 http://www.263.net
免费邮箱 邮件杂志 签名邮件 邮件加密 邮件追身呼
搜索引擎 个人站点 在线游戏 网上聊天 网上挂号
金融王国 在线杀毒 跳蚤市场 软件下载 休闲娱乐
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.