Cross-compiling instructions at http://x.cygwin.com/docs/cg/prog-build-cross.html obsolete?

Alain Knaff alain@knaff.lu
Fri Jul 14 15:23:00 GMT 2006


Hi,

I'm trying to build a Cygwin cross compiler (i.e. a compiler that runs 
on Linux but generates binaries that run on Cygwin)
For this, I tried to follow the instructions at 
http://x.cygwin.com/docs/cg/prog-build-cross.html

However, these seem to be obsolete.

Indeed, on my Fedora Core 5, I get the following error when attempting 
to configure gcc:

*** This configuration is not supported in the following subdirectories:
      target-libffi target-boehm-gc target-zlib target-libjava 
target-libf2c zlib fastjar target-libobjc
     (Any other directories should still work fine.)
Copying no to /home/aknaff/cygwin/i686-pc-cygwin/sys-include
/tmp/cNf677/cNf677.tgt: line 821: cd: no: No such file or directory
Created "Makefile" in /home/aknaff/cygwin/src/gcc-3.3.1/build
/tmp/ccvcwlyc.s: Assembler messages:
/tmp/ccvcwlyc.s:5: Warning: .type pseudo-op used outside of .def/.endef 
ignored.
/tmp/ccvcwlyc.s:5: Error: junk at end of line, first unrecognized 
character is `m'
/tmp/ccvcwlyc.s:18: Warning: .size pseudo-op used outside of .def/.endef 
ignored.
/tmp/ccvcwlyc.s:18: Error: junk at end of line, first unrecognized 
character is `m'
/tmp/ccvcwlyc.s:20: Error: junk at end of line, first unrecognized 
character is `-'
*** The command 'gcc -o conftest -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.



Is there any more up-to-date version of these instructions online?

Or, even better, some pre-made RPMs of a cygwin crosscompiler?

Thanks,

Alain

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list