x86_64 build

Ralf Corsepius rc040203 at freenet.de
Tue Oct 18 07:51:09 UTC 2005


On Tue, 2005-10-18 at 09:41 +0200, Thorsten Leemhuis wrote:
> Am Dienstag, den 18.10.2005, 09:24 +0200 schrieb Ralf Corsepius:
> > As RPM_OPT_FLAGS also are those FLAGS which are being used to propagate
> > architecture dependent flags to configure scripts/Makefiles, a package
> > not acknowledging RPM_OPT_FLAGS will also not build correctly  on
> > x86_64, because there the implicit default flags do not match the system
> > requirements (In a nutshell, you must pass -m64 on x86-64, otherwise the
> > compiler will use it's implicit default (-m32) and you'll get 32bit
> > binaries).
> 
> Ralf, sorry, this is completely wrong. If you call gcc without "-m32" or
> "-m64"  it will build 64bit binaries. 

OK, I stand corrected (As you know I don't have access to x86_86 boxes).

BTW: Has this changed? I believe to recall, once -m64 had been required
on x86_64.

Ralf






More information about the fedora-extras-list mailing list