32bit winelib builds in x86_64

Michael Ost most at museresearch.com
Tue Jul 31 17:37:21 CDT 2007


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




More information about the wine-devel mailing list