This is the mail archive of the 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]


 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!

For help on using this list, send a message to
"" with one line of text: "help".

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