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:
>> Doesn't work:
>>
>> aryeh@flosoft:/home/aryeh/wine% ./configure --disable-wine64
>> CFLAGS="-m32" CXXFLAGS="-m32"
>
> Wine's configure doesn't really work like that, I think. Try it
> more like I suggested (this should work with bash, don't know about
> other shells):
>
> CC="gcc -m32" CXX="g++ -m32" ./configure --disable-win64

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.

>
> You could also look in the configure.ac to see what else needs to
> be done, since it tweaks itself for x86_64*linux already.

Same result if configured this way.
>
> Also make sure you really do have a gcc capable of building 32-bit
> binaries...

Yes because the base system (unlike linux *BSD's tend to be everything
you need for a basic OS with no end-user apps/ui's) compiles a set of
32bit compatible libraries (i.e. it comes with a complete set of 32
bit and 64 bit libs but all the tools and 3rd party apps are built
against the 64 bit ones by default).


- --
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

iD8DBQFHmpguQi2hk2LEXBARAmZUAJ4hcwm7Cgwi9S/KuvB02kW22aRJQwCgiFTB
NizkSYZXA1eDYINg1/DWt+U=
=M1SK
-----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