This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newbie instructions for building gcj for Windows


On 26 Jun 2002, Adam Megacz wrote:
> Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> > I don't know if a cygwin-to-mingw cross is possible, however.
> 
> AFAIK, cygwin == mingw + '-lcygwin', so if you get it working on
> cygwin, it should be a simple matter of adding '-mno-cygwin'.

Not exactly.  Cygwin links in some other components, e.g. newlib.  It
has a different C runtime and headers, i.e. not based on msvcrt.dll.  The
two are sufficiently different that I'd recommend a true cross compiler
rather than trying to mess with -mno-cygwin.

Of course, it'd be nice to have Cygwin building gcj natively too... what's
the obstacle?  Just boehm-gc?  It ought to work, at least with
win32-threads.c.

Jeff


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