http://bugs.winehq.org/show_bug.cgi?id=58621
Bug ID: 58621 Summary: -Wl,--wine-builtin has no effect in winegcc Product: Wine Version: 10.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: operendex@gmail.com Distribution: ---
-Wl,--wine-builtin has no effect in winegcc. It produces the same file as if the argument were omitted.
http://bugs.winehq.org/show_bug.cgi?id=58621
operendex@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |operendex@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=58621
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- How exactly are you using it, and how did you check the results?
http://bugs.winehq.org/show_bug.cgi?id=58621
--- Comment #2 from operendex@gmail.com --- (In reply to Alexandre Julliard from comment #1)
How exactly are you using it, and how did you check the results?
winegcc --fPIC -Wl,--wine-builtin -shared -o mydll.dll dll.spec dll.c
file mydll.dll.so outputs
ELF 64-bit LSB shared object, x86-64, ...
instead of
PE32+ executable for WINE (DLL), ...
http://bugs.winehq.org/show_bug.cgi?id=58621
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- That's not what --wine-builtin does, it only sets the builtin flag on PE dlls. To build a PE dll in the first place you need something like:
winegcc --target x86_64-w64-mingw32 -shared ...