This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
libffi cross compilation for arm-wince
- From: "Vincent R." <forumer at smartmobili dot com>
- To: <libffi-discuss at sourceware dot org>
- Date: Wed, 23 Sep 2009 18:46:02 +0200
- Subject: libffi cross compilation for arm-wince
Hi,
I wanted to test libffi on a windows ce platform and I tried to compile
libffi
with cegcc-4.4.0 compiler as shown below:
./configure --prefix=/opt/mingw32ce --host=arm-mingw32ce
--target=arm-mingw32ce
make
and I get the following error :
arm-mingw32ce-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src
-I. -I./include -Iinclude -I./src -g -O2 -MT src/arm/sysv.lo -MD -MP -MF
src/arm/.deps/sysv.Tpo -c src/arm/sysv.S -DDLL_EXPORT -DPIC -o
src/arm/.libs/sysv.o
src/arm/sysv.S: Assembler messages:
src/arm/sysv.S:138: Warning: .type pseudo-op used outside of .def/.endef
ignored.
src/arm/sysv.S:138: Error: junk at end of line, first unrecognized
character is `f'
src/arm/sysv.S:223: Warning: .size pseudo-op used outside of .def/.endef
ignored.
src/arm/sysv.S:223: Error: junk at end of line, first unrecognized
character is `f'
src/arm/sysv.S:233: Warning: .type pseudo-op used outside of .def/.endef
ignored.
src/arm/sysv.S:233: Error: junk at end of line, first unrecognized
character is `f'
src/arm/sysv.S:239: Error: unknown pseudo-op: `.pad'
src/arm/sysv.S:295: Warning: .size pseudo-op used outside of .def/.endef
ignored.
src/arm/sysv.S:295: Error: junk at end of line, first unrecognized
character is `f'
make[2]: *** [src/arm/sysv.lo] Error 1
make[2]: Leaving directory
`/cygdrive/z/cygming-home/Realeyes3D/projects/gnustep/libffi-3.0.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/cygdrive/z/cygming-home/Realeyes3D/projects/gnustep/libffi-3.0.8'
make: *** [all] Error 2
Do you have any idea how to solve this ?
Thanks