Martin.Fuhrer@xxxxxxxxxxxxxx schrieb: > Hi Peter, > >> Are you sure you want Win64? Normally you only need 32bit wine >> because almost all windows applications are 32bit. >> Just remove '--enable-wine64' from the above line. > > Yes, good point. I had it enabled thinking it may be required for > compiling wine on a 64-bit machine, but it appears this is not the case. > >>> gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ > -D_REENTRANT >>> -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement >>> -Wwrite-strings -Wpointer-arith -g -O2 -D__i386__ -o interlocked.o >>> interlocked.c >> As for the compile error. The problem is the -D__i386. >> No idea though how that ended up there for a win64 build. > > Great, thanks! I replaced the flag with -D__x86_64__ and the compile worked > fine. I notice that all the compile commands are executed with the > -D__i386__ flag. Perhaps this is a configure bug? Or do I need to > explicitly specify that I am on a 64 bit machine when running configure? No, you shouldn't need to. That's the whole point behind this whole configure script, to figure these things out by itself ;) > In any case, running configure without '--enable-wine64' still produces the > same errors (ie. files are compiled with the -D__i386__ flag). On a lark, I > tried modifying line 1979 of the configure script. No, don't do that. Remember, now you want to build a 32bit wine, ie. compiling into 32bit code. So -D__i386__ is right exactly what we want now. > Now I ran configure: > ./configure --prefix=/home/mfuhrer/sw/linux > > and 'make depend && make'. Compilation proceeds much further, but > eventually halts with another error: hm, you made a 'make clean' before? You probably need this to remove any compiled 64bit code from your previous attempts. so try: make clean ./configure --prefix=/home/mfuhrer/sw/linux make depend make and hopefully it will work ;) _______________________________________________ wine-users mailing list wine-users@xxxxxxxxxx http://www.winehq.org/mailman/listinfo/wine-users