crossbridge-community / crossbridge

C/C++ Compiler for the ActionScript Virtual Machine (AVM2)
http://sourceforge.net/projects/crossbridge-community/
Other
151 stars 36 forks source link

Master: Cannot build SDK (Tamarin) on Mac OSX 10.9 #18

Closed vpmedia closed 10 years ago

vpmedia commented 10 years ago

Tamarin Error: Unknown SDK Version -> 10.9

vpmedia commented 10 years ago

After solving first issue: ..... true "Preprocessing VMPI/MacDebugUtils" In file included from ../../../avmplus/VMPI/VMPI.h:59, from ../../../avmplus/VMPI/MacDebugUtils.cpp:8: ../../../avmplus/platform/mac/mac-platform.h:65:20: error: stdarg.h: No such file or directory make[1]: * [VMPI/MacDebugUtils.ii] Error 1 make[1]: * Deleting file `VMPI/MacDebugUtils.ii' make: *\ [tr] Error 2

vpmedia commented 10 years ago

Referenced issue: https://bugzilla.mozilla.org/show_bug.cgi?id=537817

vpmedia commented 10 years ago

Adding specific include dirs lead to: -I$(SRCROOT)/sdk/usr/include -I$(BUILD)/llvm-debug/lib/clang/2.9/include

true "Preprocessing platform/mac/../unix/OSDepUnix" true "Skipping shell-tracers generation since AVMSHELL_TOOL unset" true "Library libzlib" true "Library liblzma" true "Precompiling ../../../avmplus/vmbase/vmbase.h to vmbase/vmbase-precompiled.h.gch" true "Precompiling ../../../avmplus/MMgc/MMgc.h to MMgc/MMgc-precompiled.h.gch" In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/alloca.h:29, from ../../../avmplus/platform/mac/mac-platform.h:72, from ../../../avmplus/VMPI/VMPI.h:59, from ../../../avmplus/vmbase/vmbase.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/sys/_types/_size_t.h:30: error: 'darwin_size_t' does not name a type In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/mach/i386/vm_types.h:72, from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/mach/machine/vm_types.h:33, from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/mach/port.h:92, from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/mach/std_types.h:69, from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/mach/mach.h:65, from ../../../avmplus/platform/mac/mac-platform.h:79, from ../../../avmplus/VMPI/VMPI.h:59, from ../../../avmplus/vmbase/vmbase.h:11: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/i386/_types.h:79: error: conflicting declaration 'typedef union mbstate_t mbstate_t' /Users/dev/work/crossbridge/sdk/usr/include/sys/_types.h:103: error: 'mbstate_t' has a previous declaration as 'typedef union __mbstate_t __mbstate_t' In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/mach/port.h:127, from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/mach/std_types.h:69, from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/mach/mach.h:65, from ../../../avmplus/platform/mac/mac-platform.h:79, from ../../../avmplus/VMPI/VMPI.h:59, from ../../../avmplus/vmbase/vmbase.h:11: .............

vpmedia commented 10 years ago

"Unfortunately Apple decided to drop support for PPC, SDKs 10.4/10.5 and GCC 4.0 in Xcode4. This hasn't been done for technical reasons, though, but only because Apple wanted to do that. If you have a parallel installation of Xcode3 on your Mac, you can easily restore all that functionality to Xcode4. " Compatibility.... who da fuck cares? :+1: