Commit Graph

85 Commits

Author SHA1 Message Date
Thomas Pöchtrager
e8443ae7d3 add a clang build script 2014-11-10 20:43:14 +01:00
Thomas Pöchtrager
44d7d0d07a make x86_64h default to 10.8 instead of 10.9 2014-11-09 18:04:29 +01:00
Thomas Pöchtrager
06c8060aae rudimentary fortran support 2014-10-01 19:53:41 +02:00
Thomas Pöchtrager
e7b643d9bd adjustments to allow extracting the sdk on linux (xcode 4.2 only) 2014-09-27 14:35:42 +02:00
Thomas Pöchtrager
0d9ba01d5b add support for the 10.10 SDK (DP1)
get rid of bc dependency
2014-09-13 15:32:42 +02:00
Thomas Pöchtrager
270f6d73f6 add support for new x86_64h architecture (haswell)
add support for multiple -arch flags with gcc (and clang + -oc-use-gcc-libs)
fix an unwind issue with -oc-use-gcc-libs + -mmacosx-version-min <= 10.5
update changelog
2014-09-13 15:32:42 +02:00
Jeremy Fleischman
ae2ef950f0 Update README.md
tarball/ -> tarballs/
2014-09-11 15:11:55 -07:00
Thomas Pöchtrager
867345ed8f use gcc to compile gcc (there was a weird '-mmacosx-version-min=' issue during gcc compilation with earlier versions) 2014-07-17 22:43:29 +02:00
Thomas Pöchtrager
4a685dbe73 cctools 855 + ld64 236.3
also add 'cctools 855 + ld64 134.9' as fallback for systems without
an up-to-date C++ standard library
2014-05-10 16:17:16 +02:00
Thomas Pöchtrager
59f5a220b7 add some notes about the default deployment target to the README
wrapper: never default to libc++ with gcc
2014-04-25 21:06:24 +02:00
Thomas Pöchtrager
f8e57bfcd3 new compiler wrapper written in C++
to highlight some changes:

- this gets rid of the bash dependency (after installing)
- osxcross-env, osxcross-conf and (the fake) dsymutil are now implemented
  in the wrapper
- added: 'sw_vers' tool, which is required by some projects (llvm, ...)
- added '-oc-use-gcc-libs' option (uses './build_gcc.sh' libstdc++)

This new wrapper is also more restrict and several times faster than the bash
implementation (~0.2ms vs. 10ms+).
2014-04-06 22:27:59 +02:00
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
cb5ddfdc97 update README 2014-03-26 20:41:55 +01:00
Thomas Pöchtrager
a829f523b8 support NetBSD (https://github.com/tpoechtrager/osxcross/issues/7)
bump version (0.5 -> 0.6)
update CHANGELOG
misc adjustments
2014-03-26 20:39:20 +01:00
Don Bright
09973626eb typo fix 2014-03-26 20:34:46 +01:00
Don Bright
c697511015 automatically find the SDK version, allow SDK_VERSION env var, deal w ubuntu bug 2014-03-26 20:34:46 +01:00
Thomas Pöchtrager
78d78d4276 Revert "~/.bashrc -> ~/.profile"
This reverts commit 7f6fcf3b085c8cf88cba5a606aaeaa18848ceb0d.
2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
77b27e099f ~/.bashrc -> ~/.profile 2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
3a7c2e6635 build bc on systems where it is not (pre-)installed 2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
afef99a299 remove the 'weak debug info' notes from the README
Debug symbols work anyway as long you *don't* build the binary in a single step:

o32-clang++ test.cpp -g3           # causes dsymutil invocation

o32-clang++ test.cpp -g3 -c        # causes *no* dsymutil invocation
o32-clang++ -g3 test.o -o test     # causes *no* dsymutil invocation

same with gcc.

Getting line numbers may require you to copy the object files (*.o) onto the system you are debugging on.
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
bbb88618b0 add a few more FreeBSD notes to the README 2014-03-26 20:32:55 +01:00
Thomas Pöchtrager
d988fe29da system -> platform 2014-03-26 20:32:55 +01:00
Thomas Pöchtrager
2c38fb673e move duplicate code into a single file
add debug option (OCDEBUG=1 ./<script>)
update README
2014-03-26 20:32:55 +01:00
Thomas Pöchtrager
42e3fc51cc fix a typo in the README 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
b62b01644f libuuid-devel -> uuid-devel 2014-03-26 20:32:31 +01:00
Thomas Pöchtrager
5a74122c92 ogcc wrapper: don't append '-arch' when '-arch' is already given through the invocation command
minimial build_gcc.sh cleanup
2014-03-26 20:32:30 +01:00
Thomas Pöchtrager
cbaa387542 small cleanup 2014-03-26 20:32:30 +01:00
Thomas Pöchtrager
0df1bbd817 Update README.md 2014-03-26 20:32:30 +01:00
Thomas Pöchtrager
3c377fa9e9 update README.md one more time 2014-03-26 20:31:59 +01:00
Thomas Pöchtrager
34a0ef5d80 Update README.md 2014-03-26 20:31:39 +01:00
Thomas Pöchtrager
5dffd32ec0 Update README.md 2014-03-26 20:31:39 +01:00
Thomas Pöchtrager
b42405f4ed switch to a markdown-formatted README 2014-03-26 20:31:39 +01:00