Page 1 of 1

[done] cpu=i686 allowd for x86_64?

Posted: 1. Jan 2010, 12:58
by damNageHack
http://www.salixos.org/wiki/index.php/Packaging_rules#Package_rules wrote: * All packages compiled for the x86 architecture should be compiled with CFLAGS="-O2 -march=i486 -mtune=i686" and/or CXXFLAGS="-O2 -march=i486 -mtune=i686", unless a "reasonable" condition exists to do otherwise.

* All packages compiled for the x86_64 architecture should be compiled with CFLAGS="-O2 -fPIC" and/or CXXFLAGS="-O2 -fPIC", unless a "reasonable" condition exists to do otherwise.
What does "reasonable" mean here? A build script directly got from Zenwalk for apache-ant uses cpu=i686, can i reuse it in Salix64?

Re: cpu=i686 allowd for x86_64?

Posted: 1. Jan 2010, 17:01
by thenktor
No :) You cannot build x86_64 packages with i686 as arch.