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 3/19/2014 2:04 PM, Yaakov (Cygwin/X) wrote:
On 2014-03-19 11:32, Ken Brown wrote:
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?

It was installed, but "cygcheck -c" showed that it was incomplete. Reinstalling it fixed the problem.

Thanks.

Ken


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