This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> BUT this doesn't work, the entry point will bad: > > gcc -shared --dll mydll.o --entry _DllMain@12 -Wl,--subsystem,windows -o > mydll-bad.dll The --subsystem option changes the default entry point. Try giving it before the --entry option. If that doesn't work, try renaming your entry point to WinMainCRTStartup, which is the default for the windows subsystem.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |