This is the mail archive of the
crossgcc@cygnus.com
mailing list for the crossgcc project.
Re: GCC as a Cross compiler i586-Linux / powerpc-vxworks
- To: crossgcc@cygnus.com
- Subject: Re: GCC as a Cross compiler i586-Linux / powerpc-vxworks
- From: Gilbert Ramirez <gram@xiexie.org>
- Date: Wed, 16 Jun 1999 11:11:41 -0500
- References: <570866A06374574A0625679200105724.000ADA0286256792@tivoli.com>
- Reply-To: crossgcc@cygnus.com
On Tue, Jun 15, 1999 at 08:58:31PM -0500, Brendan Simon wrote:
>
>
> I have built a powerpc-linux and powerpc-eabi cross-compiler (with lots
> of help from people on this list) on a ix86 linux box from
> binutils-2.9.1, egcs-1.1.2 and newlib-1.8.1 (for powerpc-eabi). I have
> never used any patches though and I have never seen the error message you
> mention.
>
> Brendan Simon.
I am trying something similar:
host=i686-pc-linux-gnu, target= powerpc-ibm-aix4.1.3.0
However, I cannot compile newlib-1.8.1. The cross-gcc compiler complains
about my endianness not declared. Does anyone know where I should
declare it?
make[3]: Entering directory
`/home/gramirez/prj/cross/compile/aix/newlib/powerpc-ibm-aix4.1.3.0/newlib/libm/math'
powerpc-ibm-aix4.1.3.0-gcc -g -O2 -O2 -DMISSING_SYSCALL_NAMES
-fno-builtin
-I/home/gramirez/prj/cross/compile/aix/newlib/powerpc-ibm-aix4.1.3.0/newlib/./targ-include
-I/home/gramirez/prj/cross/compile/newlib-1.8.1/newlib/./libc/include -c
../../../../../../newlib-1.8.1/newlib/libm/math/k_standard.c
In file included from
/home/gramirez/prj/cross/compile/newlib-1.8.1/newlib/libc/include/math.h:10,
from
../../../../../../newlib-1.8.1/newlib/libm/math/fdlibm.h:15,
from
../../../../../../newlib-1.8.1/newlib/libm/math/k_standard.c:15:
/home/gramirez/prj/cross/compile/newlib-1.8.1/newlib/libc/include/machine/ieeefp.h:130:
#error Endianess not declared!!
I'm also getting some errors/warnings about stddef.h and stdarg.h not
being found. I followed the instructions in the Cross-GCC FAQ to build
binutils and gcc; does it appear that I missed anything?
In file included from
../../../../../../newlib-1.8.1/newlib/libm/math/k_standard.c:19:
/home/gramirez/prj/cross/compile/newlib-1.8.1/newlib/libc/include/stdio.h:37:
stddef.h: No such file or directory
/home/gramirez/prj/cross/compile/newlib-1.8.1/newlib/libc/include/stdio.h:40:
stdarg.h: No such file or directory
thanks for any help,
--gilbert
_______________________________________________
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.