Produce a dll pe on linux with gcc
I would like to produce with gcc
a linux special dll file (PE AND NOT ELF format) and use functions
How do I do ?
there is x86_64-w64-mingw32-gcc but i can't integrate linux function.
OTHER question :
When produce a dll windows since x86_64-w64-mingw32-gcc HOW I DO FOR REMOVE DECORATION 'MSVRTDLL....' ?
How i do for remove decoration dllmain for avoiding import kernel32.dll ?