I'm trying to compile a UB version of aMule. I compiled the wxWidgets 2.8.0 with the --enable-universal_binary flag. I applied the patch found on the homepage and I modified the muletrayicon.cpp. Doing "make" in the aMule directory gives me this error:
make all-am
if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/Users/MaMaK/Desktop/wxWidgets-2.8.0/build/lib/wx/include/mac-unicode-release-static-2.8 -I/Users/MaMaK/Desktop/wxWidgets-2.8.0/include -I/Users/MaMaK/Desktop/wxWidgets-2.8.0/contrib/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXMAC__ -I../../../src -I../../../src/libs -DECSOCKET_USE_EVENTS=0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -O2 -MT libec_noevt_a-ECPacket.o -MD -MP -MF ".deps/libec_noevt_a-ECPacket.Tpo" -c -o libec_noevt_a-ECPacket.o `test -f 'ECPacket.cpp' || echo './'`ECPacket.cpp; \
then mv -f ".deps/libec_noevt_a-ECPacket.Tpo" ".deps/libec_noevt_a-ECPacket.Po"; else rm -f ".deps/libec_noevt_a-ECPacket.Tpo"; exit 1; fi
g++: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
make[5]: *** [libec_noevt_a-ECPacket.o] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I don't see the -isysroot switch repeated so I don't know what to do. Can you help me? Thanks
