cygport cross compilation
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Wed Mar 19 18:05:00 GMT 2014
On 2014-03-19 11:32, Ken Brown wrote:
> I've just started experimenting with using cygport for cross compiling,
> and I've come across two issues:
>
> 1. This is just a request: The latest cygport for Fedora appends i686 or
> x86_64 to the name of the working directory. I would find it convenient
> if cygport did the same thing on Cygwin, at least if the --32 or --64
> option is specified.
Actually, that is experimental code (based on a request from another
cygport user) that was accidentally shipped when I had to reroll the
source tarball for compatibility with F20/UnversionedDocDirs. Would
people like to see this done always, never, or only when cross-building?
> 2. I tried to do a build for x86-cygwin on x86_64-cygwin, but the
> compiler didn't work:
>
> $ cat test.c
> int
> main ()
> {
> return 0;
> }
>
> $ i686-pc-cygwin-gcc test.c
> /tmp/ccaAaoj6.s: Assembler messages:
> /tmp/ccaAaoj6.s:9: Error: invalid instruction suffix for `push'
WFM. Are you missing cygwin32-binutils?
Yaakov
More information about the Cygwin-apps
mailing list