http://bugs.winehq.org/show_bug.cgi?id=18762
--- Comment #2 from Jon Rosen holy.smoking.floorboards.batman@gmail.com 2009-06-04 00:36:59 --- Ok, I'm not exactly sure why my USE flags are a 'bunch of BS', but I can say that I've been speaking with another individual with the exact same USE flags, is also running Gentoo AMD64, and for whom Supreme Commander has worked 'very well for [and] on highest settings'. I don't know if my Wine setup is necessarily the problem (although related packages very well might be).
Still, I did looked through that link you provided and checked my installation against the recommendations there. The 'Gentoo page' didn't say anything new, as it pretty much just told me to run the emerge command and it recommended using 'oss' (which I've since added) The WineOn64bit page gave some new info. First, I ensured that all the stated emul-* libs were installed on my system (all but qt was) and I tried installing via its suggestions:
./configure --x-libraries=/emul/linux/x86/usr/lib/ LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib" make && ./wine --version;
This compilation shows no changes in game behavior from the Gentoo compilation. (I have no easy way of comparing my config.h with the one on the recommended packages page, because the info on that site was copied and pasted with line numbers and did not keep spacing, so every line comes up as different) Configure did throw this at me, though:
configure: libhal 32-bit development files not found, no dynamic device support. configure: libgnutls 32-bit development files not found, no schannel support. configure: libsane 32-bit development files not found, scanners won't be supported. configure: libgphoto2 32-bit development files not found, digital cameras won't be supported. configure: libcapi20 32-bit development files not found, ISDN won't be supported. configure: libldap (OpenLDAP) 32-bit development files not found, LDAP won't be supported.
In the regular Gentoo emerge of wine, only this shows: configure: libgphoto2 development files not found, digital cameras won't be supported. configure: libcapi20 development files not found, ISDN won't be supported.
For the record, I am compiling with the following CFLAGS: CFLAGS="-march=athlon64 -O2 -pipe"