Newbie instructions for building gcj for Windows

Jeff Sturm jsturm@one-point.com
Wed Jun 26 21:25:00 GMT 2002


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /