Crosscompile
Gerhard Wesp
gwesp@cosy.sbg.ac.at
Thu Mar 6 01:01:00 GMT 1997
Hi all,
I'm in the position of having to develop a piece of software which should
should work on UNIX as well as Win95. The code uses sockets, i.e. I
have to use wsock32.dll.
I have Linux and Win95 on my PC, and I don't like rebooting into Windows
and recompiling there everytime I change a bit of the code, so I was
wondering if it was possible to use gcc on Linux as a crosscompiler.
I tried the win32-{gcc,binutils,...} packages of Debian, but they don't
really work (especially there are problems with include files). Moreover,
they seem a bit outdated and basically come without documentation.
What steps would be necessary
to use gcc as a crosscompiler? Since the CPU is the same on Linux
and on Win95, shouldn't it be sufficient to use just a specialized
assembler and linker to create .obj's and then .exe's? Would it be
possible to use the header files from e.g. M$ Visual C 4.00 with gcc?
Any hints are deeply appreciated!
-Gerhard
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list