This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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: 3.4 PATCH: Fix libffi MIPS O32/N64 ABI handling


Anthony Green wrote:

On Mon, 2003-10-06 at 14:44, Rainer Orth wrote:


Mon Oct 6 20:34:56 2003 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>

* include/ffi_mips.h: Define FFI_MIPS_N32 for N32/N64 ABIs,
FFI_MIPS_O32 for O32 ABI.



This looks correct to me. Thanks!


AG



Unfortunatly it breaks things for me.
../gcccvs/gcc/configure --host=i686-pc-linux-gnu --target=mipsisa32el-linux --enable-languages=c,c++,java --with-headers=/home/mipsel-linux/mipsel-linux/include --prefix=/home/testcvs --with-libgcj-mips-xgot --with-broken-dladdr


make

Results in:
make[3]: Entering directory `/home/daney/mipsel-gcccvs/mipsisa32el-linux/libffi'
/bin/sh ./libtool --mode=compile /home/daney/mipsel-gcccvs/gcc/xgcc -B/home/daney/mipsel-gcccvs/gcc/ -B/home/testcvs/mipsisa32el-linux/bin/ -B/home/testcvs/mipsisa32el-linux/lib/ -isystem /home/testcvs/mipsisa32el-linux/include -isystem /home/testcvs/mipsisa32el-linux/sys-include -DHAVE_CONFIG_H -I. -I../../../gcccvs/gcc/libffi -I. -I../../../gcccvs/gcc/libffi/include -Iinclude -I../../../gcccvs/gcc/libffi/src -O2 -g -O2 -Wall -g -fexceptions -O2 -g -O2 -c -o src/debug.lo ../../../gcccvs/gcc/libffi/src/debug.c
/home/daney/mipsel-gcccvs/gcc/xgcc -B/home/daney/mipsel-gcccvs/gcc/ -B/home/testcvs/mipsisa32el-linux/bin/ -B/home/testcvs/mipsisa32el-linux/lib/ -isystem /home/testcvs/mipsisa32el-linux/include -isystem /home/testcvs/mipsisa32el-linux/sys-include -DHAVE_CONFIG_H -I. -I../../../gcccvs/gcc/libffi -I. -I../../../gcccvs/gcc/libffi/include -Iinclude -I../../../gcccvs/gcc/libffi/src -O2 -g -O2 -Wall -g -fexceptions -O2 -g -O2 -c ../../../gcccvs/gcc/libffi/src/debug.c -fPIC -DPIC -o src/.libs/debug.o
In file included from include/ffi.h:156,
from ../../../gcccvs/gcc/libffi/src/debug.c:24:
../../../gcccvs/gcc/libffi/include/ffi_mips.h:39: error: parse error before '--' token
In file included from ../../../gcccvs/gcc/libffi/src/debug.c:24:
.
.
.



Unfortunatly I cannot investigate further until tomarrow.


David Daney.



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