GCJ with native structs

Stanley Brown stanley.brown@zimmer.com
Tue Dec 9 22:06:00 GMT 2003


> The first one is win32 specific. Have a look at this code in win32.cc:
>> // The following definitions "fake out" mingw to think that -mthreads
> // was enabled and that mingwthr.dll was linked. GCJ-compiled
> // applications don't need this helper library because we can safely
> // detect thread death (return from Thread.run()).
>> int _CRT_MT = 1;
>I can see not wanting to have gcj dependent on mingwthr.dll. But 
couldnt this line be re-written like:
#ifndef _CRT_MT
#define _CRT_MT 1
#endif
Now Im only guessing here that that would fly. If it did it would mean 
that gcj would still be free of mingwthr.dll on win32 boxes unless 
linked with libstdc++.


More information about the Java mailing list

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