Robert Shearman wrote:
You might want to find out why you have to add anything to LDFLAGS. I don't know about other distributions, but on 64-bit Ubuntu passing the -m32 flag to gcc will make it automatically add the standard 32-bit lib directories to the lib path (i.e. /lib32, /usr/lib32, etc.).
On gentoo, the (precompiled/binary) compatibility libraries are in /emul/linux/, 32bit libraries from packages which gentoo compiles on its own (glibc and all other multilib aware packages) are in /lib32, /usr/lib32 etc.
But my point was.. wine links an executable without using LDFLAGS.
tom