delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/07/03:17:34

From: hasegawa AT exa DOT onlab DOT ntt DOT co DOT jp (HASEGAWA Kay)
Subject: Re: Crosscompile
7 Mar 1997 03:17:34 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199703070255.LAA14722.cygnus.gnu-win32@exa.onlab.ntt.co.jp>
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <199703060900.KAA25297@grizzly.cosy.sbg.ac.at> from "Gerhard Wesp" at Mar 6, 97 10:00:25 am
X-Mailer: ELM [version 2.4(JP v0.38b2) PL25]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019