Andreas Fink schrieb:
MacOS X also often has issues with precompiled headers due to the fact
that Apple's GCC variant can compile multiple architectures in one go
(for example if you pass -arch ppc -arch i386 -arch ppc64 -arch x86_64).
In this case the precompiled headers can be different as things like
size of () do return different values and endianness is different. So
instead of one .depend it would have to create multiple ones.
So gcc does return:
gcc-4.0: -E, -S, -save-temps and -M options are not allowed with
multiple -arch flags
> So under MacOS X I often use --disable-dependency-tracking or I compile
> for every architecture once and merge the binaries it with "lipo"
> lateron. Kannel doesnt have this issue as I fixed the endianness and
> sizeof issues. In the case of kannel its compiling for multiple
> architectures and disables -M.
so there is no way with the current build system to compile "multi-arch
binaries" for Kannel?
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------