Welcome to the Linux Foundation Forum!

Produce a dll pe on linux with gcc

sizy458 Posts: 1
edited February 2021 in Programming and Development

I would like to produce with gcc
a linux special dll file (PE AND NOT ELF format) and use functions
linux inside.
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 ?


Upcoming Training