Crosscompile
HASEGAWA Kay
hasegawa@exa.onlab.ntt.co.jp
Fri Mar 7 00:05:00 GMT 1997
gwesp>> I tried the win32-{gcc,binutils,...} packages of Debian, but they don't
gwesp>>really work (especially there are problems with include files). Moreover,
gwesp>>they seem a bit outdated and basically come without documentation.
gwesp>>
gwesp>> What steps would be necessary
gwesp>>to use gcc as a crosscompiler? Since the CPU is the same on Linux
gwesp>>and on Win95, shouldn't it be sufficient to use just a specialized
gwesp>>assembler and linker to create .obj's and then .exe's? Would it be
gwesp>>possible to use the header files from e.g. M$ Visual C 4.00 with gcc?
As the cross-compiler package included in Debian is slightly older to make
cross-compiled apps run with cygwin.dll of gnu-win32 B17.1, it is a good
idea to make updated cross-compiler from 17.1B distribution.
What I did was following;
1)un-tar cdksrc.tar in SRC=/usr/local/src/cygwin32 for example,
2)mkdir $(SRC)/i586-pc-cygwin32 ,and cd there
3)../configure --target=i586-pc-cygwin32 --host=i586-pc-linux
4)make, then install
I think making cross-compiler from original gcc would be tough with/without
MSV++ headers.
-Kay
-
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