This is the mail archive of the cygwin-apps mailing list for the Cygwin 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: cygport cross compilation


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


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