This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Cross compiling with CYGWIN
- From: John Murga <john at murga dot org>
- To: java at gcc dot gnu dot org
- Date: Sun, 12 Jan 2003 22:33:28 +0000
- Subject: Cross compiling with CYGWIN
- Reply-to: John Murga <john at murga dot org>
Hi,
I have done some experimenting with cygwin today and it seems that you can
almost cross compile (with a couple of hacks) following Rangits Linux process.
Here is where I got so far :
First of all make sure you have an up to date version of Cygwin and have
have (in addition to the normal stuff) installed flex, byacc & bison.
This will avoid some really strange errors when building binutils.
Edit the cygwin startup file (cygwin.bat) and include the following :
set CYGWIN=check_case:strict
This should help when it comes to compiling the case sensitive stuff...
Change all the "read" statements in Ranjits scripts with "read dummyVar".
Build binutils as indicated in Ranjits document.
Build gcc as indicated in ranjits document...
Then you'll get error building libstdc++-v3
It was picking up the wrong "libstdc++-v3\config\os" directory.
As quick hack I renamed "newlib" and replaced with a copy of "mingw"
After this you'll get some problems with "libffi"... I haven't looked at
these yet as it takes AGES to build under cygwin (but at least you don't
get the "resource busy" error that MSYS eventually gives you).
I hope this is of use to someone... I'll play some more next week.
Cheers
JohnM