Re: building 64 bit binaries from source

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ove Kaaven wrote:
> Aryeh M. Friedman skrev:
>> Same result:
>>
>> [aryeh@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@flosoft:/home/aryeh% cat foo.c
#include <stdio.h>

main()
{
    printf("%d\n",sizeof(void *));
}
aryeh@flosoft:/home/aryeh%  gcc foo.c
aryeh@flosoft:/home/aryeh% ./a.out
8
aryeh@flosoft:/home/aryeh%  gcc -m32 foo.c -B /usr/lib32
aryeh@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-----


_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux