Crosscompiler cygwin=>ppc-lynx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,
I am trying to build a cross compiler, using gcc 4.0.

I have made binutils (for the same target) with success.

I did a configure like this:
$ ../gcc-4.0-20050220/configure --target=$TARGET --prefix=$PREFIX
--enable-threads=gnat --with-local-prefix=${PREFIX}/${TARGET}
--enable-languages=c,ada --with-sysroot=${PREFIX}/sysroot --with-gnu-as
--with-gnu-ld   
--disable-multilib

(Notice no c++ support)
I copied include files from target to ${PREFIX}/sysroot/usr/include

I run make, and get this:

checking for a BSD-compatible install... /usr/bin/install -c
xhost-mkfrag is unchanged
checking for sys/file.h... yes
checking for sys/param.h... no
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... no
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... no
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for stdint.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for int... yes
checking size of int... 4
checking for uintptr_t... yes
checking for a 64-bit type... uint64_t
checking for pid_t... yes
checking for library containing strerror... configure: error: Link tests are
not allowed after GCC_NO_EXECUTABLES.
make: *** [configure-target-libiberty] Error 1

What went wrong here??


Erlo Haugen
System Software Engineer
Aerospace & Defense

Terma A/S
Vasekær 12
2730 Herlev
Denmark

T +45 8743 6000 
T +45 4594 9851 (direct)
F +45 8743 6001 
E elh@xxxxxxxxx 
w www.terma.com 
____________________________________________________________________

Attention: 

This e-mail (and attachment(s), if any) - intended 
for the addressee(s) only - may contain confidential, 
copyright, or legally privileged information or material, 
and no one else is authorized to read, print, store, copy, 
forward, or otherwise use or disclose any part of its 
contents or attachment(s) in any form. If you have 
received this e-mail in error, please notify me by 
telephone or return e-mail, and delete this e-mail
and attachment(s). Thank you.

E-mail sent over the Internet can be tampered with. 
Therefore, neither Terma nor the sender of this e-mail 
assumes any responsibility for the contents of this e-mail.
____________________________________________________________________
 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux