32bit winelib builds in x86_64
What's the command for building a 32bit winelib .dll.so and .exe.so with wineg++ in an x86_64 environment? I am used to doing dlls with: $ wineg++ -shared DLL.spec -o DLL.dll.so ... and exes with: $ wineg++ -o APP.exe.so ... Seems I need to use "-m32" for g++, "--32" for as, and "-m elf_i386" for ld. But with all the nested calls of wineg++ and winebuild I can't figure out how to get those options passed in everywhere they are needed. Any hints? Cheers... Michael Ost
Michael Ost <most(a)museresearch.com> writes:
Seems I need to use "-m32" for g++, "--32" for as, and "-m elf_i386" for ld. But with all the nested calls of wineg++ and winebuild I can't figure out how to get those options passed in everywhere they are needed.
winegcc already takes care of this, except that it doesn't have the right flags for g++, that's a configure bug. I've committed a fix. -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Michael Ost