This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C compiler cannot create executables?


> Tao,
> It would help more if you found and reported the actual error from the
> config.log file.
>
> Dimi

Thanks all. It's report another error when I redo it today. 

checking whether we are using GNU C... (cached) yes
checking whether /mnt/redhat/gcc3/gcc/gcc/xgcc -B/mnt/redhat/gcc3/gcc/gcc/ 
-B/usr/local/new-xscale/arm-linux/bin/ -B/usr/local/new-xscale/arm-linux/lib/ 
-isystem /usr/local/new-xscale/arm-linux/include accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) 
/mnt/redhat/gcc3/gcc/gcc/xgcc -B/mnt/redhat/gcc3/gcc/gcc/ 
-B/usr/local/new-xscale/arm-linux/bin/ -B/usr/local/new-xscale/arm-linux/lib/ 
-isystem /usr/local/new-xscale/arm-linux/include -E
checking for ANSI C header files... (cached) yes
checking for memcpy... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking size of short... configure: error: can not run test program while 
cross compiling
make: *** [configure-target-libffi] Error 1

Attach my config.log

-- 
Best regards,
Tao Zhang
----------------------------
 <www.davworld.net> 
 <tzhang@davworld.net> 
 Tel: (+8610)68717158-2603   
----------------------------

Attachment: config.log
Description: config.log

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]