building wx2.6.3 on mac
Armel Asselin
armelasselin at hotmail.com
Sun Nov 12 09:50:38 PST 2006
> This looks like you're adding the output of wx-config to your compiler
> and linker flags before running the compiler tests. If that's the case,
> you don't want to do this if you're creating a Universal Binary. The
> compiler tests do not seem to like the -arch ppc and -arch i386 flags,
> and thus fail even if in actuality there is no problem. The solution is
> to run the tests and only add the wx- config compiler and linker flags
> after the tests complete successfully.
I've progressed, it now compiles but it does not build for ppc
if I add CXXFLAGS="$CXXFLAGS -arch ppc -arch i386", I get into problems with
bk-deps, which tries to to use -MMD to compute the dependencies and the
compiler refuses :-(
I imagine that one possibility is to change a bit bk-deps to drop the -arch
parameters...(maybe it's already done somewhere by the way...). I understand
that the dependencies would be for current architecture only, but that's not
very important as the system headers do not change
any idea?
Armel
More information about the wx-users
mailing list