Why I'm getting these strange things inside my compiled executable?
libgcj-16.dll._Jv_RegisterClasses... @.Mingw runtime failure:.. VirtualQuery failed for %d bytes at address %p.... Unknown pseudo relocation protocol version %d..... Unknown pseudo relocation bit size %d.....
It seem libgcj-16.dll
is related to Java, so I don't understand why this have to be there as my soft do not use Java.
The results I have found seems related to when compiling MinGW...
Using "Dependency Walker 2.2" is likely saying me that there is no need for libgcj-16.dll inside my exe.
And not any *libgcj*
file is present inside my hard drive.
It's also not clear why these MinGW related text are present, when these strings will be used/displayed?
I have tried to erase all these things with 0x00 and it seem that my tiny soft is always working.
So is there a compiler option to avoid removing these by hand? That can become tricky when the strings present in the soft grow. I'm ok to eventually keep the "GCC: (tdm-1) 5.1.0", but I don't want at all anything related to Java or unused DLL, and i prefer to remove useless text.
My main.c is just :
int main(void) { return 0; }
My building commands and result :
mingw32-gcc.exe -Os -c "C:\Dev\Win32\Empty\main.c" -o obj\Release\main.o
mingw32-g++.exe -o bin\Release\Empty.exe obj\Release\main.o -s
Output file is bin\Release\Empty.exe with size 8.50 KB
I compile with Code::Block (MinGW 5.1.0). About not any building option/property is present inside my project (Console or GUI change nothing, selected platform to only Windows too). Very thanks for your hints...