Building GCC/GCJ under cygwin and Win32
Eric Blake
ebb9@email.byu.edu
Sun May 12 12:29:00 GMT 2002
"Murga.org" wrote:
>> To get this to work I had to change the posix-threads stuff (as
> some of the functions where only defined for hash synchronization)
> and the GC_clear_stack_inner function in the boehm-gc stuff (because
> it always segfault's when recursing).
Can you post the patches you made?
>> It all seems to work OK (no "!(addr &FLAGS)" assertion fail), and
> my test multi-threaded progs seem to work well, but I cannot help
> thinking I am just being lucky...
>> What I really wanted to do was build GCJ so I could use -mno-cygwin to
> produce MingW binaries, but I don't even know where to start with that,
> are there any really simple instructions for this anywhere ?
I'm not sure the -mno-cygwin flag will work on any front end besides C,
when using a build that targets cygwin. It should be pretty easy to
build a mingw target compiler, though (search the archives), and once
you have done that, you don't even need to use -mno-cygwin. If I've
been tracking archives correctly, using (build, host, target) triples,
people have built (linux, mingw, mingw), but no one has yet reported
success with (mingw, mingw, mingw) or (cygwin, mingw, mingw); or the
even cooler cross-compiler (*, cygwin, mingw).
--
This signature intentionally left boring.
Eric Blake ebb9@email.byu.edu
BYU student, free software programmer
More information about the Java
mailing list