This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
RE: Porting to x86_64-pc-mingw32
Thanks for the answer. I have tried that. But it fails to compile the
"x86/unix64.S". I am not sure what is wrong: perhaps it is the gcc
problem... I tried the libfii-3.0.4 version.
x86_64-pc-mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude
-I./src -I. -I./include -Iinclude -I./src -g -O2 -MT src/x86/unix64.lo
-MD -MP -MF src/x86/.deps/unix64.Tpo -c src/x86/unix64.S -DDLL_EXPORT
-DPIC -o src/x86/.libs/unix64.o
src/x86/unix64.S: Assembler messages:
src/x86/unix64.S:43: Warning: .type pseudo-op used outside of
.def/.endef ignored.
src/x86/unix64.S:43: Error: junk at end of line, first unrecognized
character is `f'
src/x86/unix64.S:204: Warning: .size pseudo-op used outside of
.def/.endef ignored.
src/x86/unix64.S:204: Error: junk at end of line, first unrecognized
character is `f'
src/x86/unix64.S:208: Warning: .type pseudo-op used outside of
.def/.endef ignored.
src/x86/unix64.S:208: Error: junk at end of line, first unrecognized
character is `f'
src/x86/unix64.S:328: Warning: .size pseudo-op used outside of
.def/.endef ignored.
src/x86/unix64.S:328: Error: junk at end of line, first unrecognized
character is `f'
src/x86/unix64.S:330: Error: junk at end of line, first unrecognized
character is `,'
-----Original Message-----
From: Reini Urban [mailto:rurban@x-ray.at]
Sent: Wednesday, August 27, 2008 8:58 PM
To: Yury Mishchenko
Cc: libffi-discuss@sourceware.org
Subject: Re: Porting to x86_64-pc-mingw32
Yury Mishchenko schrieb:
> there are some "unstable" builds of mingw32 for Windows 64 bit.
> I wonder how difficult it is to port the libffi library. Any ideas?
x86/ffi64.c should work out of the box, I guess.
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/