Commit Graph

15 Commits

Author SHA1 Message Date
Thomas Pöchtrager
6c79d88501 add SDK packaging script
libc++ works now out of the box as long 'tools/gen_sdk_package.sh'
is used to create the SDK package
2014-03-28 21:04:32 +01:00
Thomas Pöchtrager
995ad1d4ab fix building GCC on FreeBSD
add missing float.h intrinsic header (FreeBSD)
2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
e935b36688 fix compiling pre-compiled headers 2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
1077cf95fd switch to libc++ 3.4 (works fine with clang < 3.4)
get OSX_VERSION_MIN >= 10.9 working (defaults to libc++)
simplify the wrapper scripts a bit
2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
241d9df6bc stdout -> stderr 2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
99a8ee449f add a no-op dsymutil shell script to bypass dsymutil invocation errors in a more simple way (fixes https://github.com/tpoechtrager/osxcross/issues/1)
remove the gcc dsymutil patch (no longer needed)
2014-03-26 20:32:55 +01:00
Thomas Pöchtrager
71f25f382b fix some typos 2014-03-26 20:32:55 +01:00
Thomas Pöchtrager
2815a603c1 use -L instead of LIBRARY_PATH env variable to find libc++
> LIBRARY_PATH is now being ignored in clang 3.5 when doing cross compiling:
> ffbfc0782f
2014-03-26 20:32:55 +01:00
Thomas Pöchtrager
2a4842f3cc add libc++ build script
update README with libc++ build instructions and samples
fix mavericks SDK download link (pointed to 10.8)
build xar only for <=10.5
add -g0 to the clang invocation command to avoid dsymutil from being run (debugging is not supported, but I guess you don't want to debug the resulting binaries anyway if you build them on a non OS X system)
attempt to make the toolchain less path dependent (gcc still breaks though, because of hardcoded paths), but clang and cctools can be moved now
update cctools to 845
add DISABLE_LTO_SUPPORT option (DISABLE_LTO_SUPPORT=1 ./build.sh) to disable linking against libLTO.so
add support for 32 bit systems
add FreeBSD support
update PACKAGE script
2014-03-26 20:32:55 +01:00
Thomas Pöchtrager
8a5c32021e oclang/ogcc wrapper: check if '-mmacosx-version-min=' is already given through the invocation command 2014-03-26 20:32:31 +01:00
Thomas Pöchtrager
e7160ea10a there is an issue in the OSX SDK stdarg.h header file which causes va_copy not to be defined with -std=c++11, so use clang's fixed intrinsic header instead
diff:

-#if __STDC_VERSION__ >= 199900L || !defined(__STRICT_ANSI__)
+#if __STDC_VERSION__ >= 199900L || __cplusplus >= 201103L || !defined(__STRICT_ANSI__)
 #define va_copy(dest, src)  __builtin_va_copy(dest, src)
 #endif
2014-03-26 20:32:31 +01:00
Thomas Pöchtrager
65944f3394 help clang to find its own intrinsic headers (this issue appears to be fixed in clang 3.4+)
bump version to 0.5
2014-03-26 20:32:31 +01:00
Thomas Pöchtrager
2c0cb38fbe more portable way to find the llvm lto.h header
should now support llvm 3.2-3.5
2014-03-26 20:32:30 +01:00
Thomas Pöchtrager
55ae02b117 support building a gcc as well
rename the project to osxcross
bump version to 0.4
2014-03-26 20:29:50 +01:00
Thomas Pöchtrager
2e957af35c initial commit 2014-03-26 20:28:13 +01:00