Article delegate-en/4457 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A4456@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Delegate cross-compillation
20 May 2009 14:54:29 GMT Master NoSFeRaTU <peihqbdyi-5vjbuj5zrptr.ml@ml.delegate.org>


2009/5/20, Yutaka Sato <feedback@delegate.org>:
>   |Of cource I cannot run this file, because it was compiled for
>   |different architecture. When I try to play with Makefile for
>   |compilling such files which require execution with normal gcc then I
>   |stopped here:
>
>
> I'm doing several cross-compilation for testing and distribution of
>  binaries for ARM CPU (ARM-Linux/gcc and WindowsCE/VC++).
>  The following is an example of shell script to do cross-compilation
>  targetting to Zaurus.
Thanks but with that script I have same error with readycc.c:
mipsel-linux-gcc -O2 -x c++ -DQS -Dm64 -I../gen -I../include  -c
IsSolaris.c -o IsSolaris.o
mipsel-linux-gcc -O2 -x c++ -DQS -Dm64 -I../gen -I../include  -c
sched.c -o sched.o
mipsel-linux-gcc -O2 -x c++ -DQS -Dm64 -I../gen -I../include  -c
readycc.c -o readycc.o
readycc.c: In function `int ready_cc(FILE*)':
readycc.c:8: error: 'struct __STDIO_FILE_STRUCT' has no member named '_egptr'
readycc.c:8: error: 'struct __STDIO_FILE_STRUCT' has no member named '_gptr'
readycc.c: In function `int ready_CC(FILE*)':
readycc.c:13: error: 'struct __STDIO_FILE_STRUCT' has no member named '_egptr'
readycc.c:13: error: 'struct __STDIO_FILE_STRUCT' has no member named '_gptr'
make[4]: *** [readycc.o] Error 1
make[4]: Leaving directory `/mnt/cdrom/1/delegate/dg-guest/rary'
make[3]: *** [libx] Error 2

I try with several crosstools, with gcc 2.95.3 & gcc 3.3.2...

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V