Hi, I tried to compile a shared library, a DLL, using GCJ on mingw. Shouldn't the following line work? gcj -shared -o test.dll somefile.jar It keeps complaining about "undefined reference to `_WinMain@16'" Any ideas? Thanks, Daniel