[Wine] building 64 bit binaries from source
Aryeh M. Friedman
aryeh.friedman at gmail.com
Fri Jan 25 21:02:01 CST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ove Kaaven wrote:
> Aryeh M. Friedman skrev:
>> Same result:
>>
>> [aryeh at flosoft ~/wine]$ CC="gcc -m32" CXX="g++ -m32" ./configure
>> - --disable-win64
>> checking build system type... x86_64-unknown-freebsd8.0
>> checking host system type... x86_64-unknown-freebsd8.0
>> checking whether make sets $(MAKE)... yes
>> checking for gcc... gcc -m32
>> checking for C compiler default output file name...
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details.
>
> Well, then I guess you'll have to look in config.log (or otherwise
> find out what it takes to build 32-bit stuff)...
>
>
>
Configure now completes but make depend hangs.
Adding -B /usr/lib32 works just fine... proof:
aryeh at flosoft:/home/aryeh% cat foo.c
#include <stdio.h>
main()
{
printf("%d\n",sizeof(void *));
}
aryeh at flosoft:/home/aryeh% gcc foo.c
aryeh at flosoft:/home/aryeh% ./a.out
8
aryeh at flosoft:/home/aryeh% gcc -m32 foo.c -B /usr/lib32
aryeh at flosoft:/home/aryeh% ./a.out
4
but adding it to the config strings just hangs make depend (btw it
doesn't matter if you do CC= or CLAGS= same result)
- --
Aryeh M. Friedman
FloSoft Systems, Java Tool Developers
Developer, not business, friendly
http://www.flosoft-systems.com
"Free software != Free beer"
Blog:
http://www.flosoft-systems.com/flosoft_systems_community/blogs/aryeh/index.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHmqKpQi2hk2LEXBARAu9/AJ4mysfBTAeHufqWlcTJNoPW1MyFFwCcCtQ7
1cmwpTkAaYXFUaD8z1uj26k=
=6VoL
-----END PGP SIGNATURE-----
More information about the wine-users
mailing list