Re: winegcc: Fix compiling of 32-bit Winelib Apps on shared 32/64-bit setups
On 4/16/10 2:51 PM, André Hentschel wrote:
--- tools/winegcc/winegcc.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index 7023ff4..f780a69 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -1252,6 +1252,14 @@ int main(int argc, char **argv) opts.unicode_app = 1; else if (strcmp("-m32", argv[i]) == 0) { + if (opts.target_cpu == CPU_x86_64) + { + const char *stdlib32path[] = { "/usr/lib32/wine", "/usr/local/lib32/wine", "/lib32/wine" }; That's great for Linux, FreeBSD, etc., but in a world of universal binaries (read: Mac OS X), this ain't gonna fly. I'm pretty sure that when 64-bit Wine support does come to Mac OS X, people are going to want to build it universal (i.e. 32-bit and 64-bit binaries in the same file); I know I do.
Chip
participants (1)
-
Charles Davis