Commit Graph

422 Commits

Author SHA1 Message Date
Thomas Pöchtrager
672ee7a229 Add ld64 qsort_r patch (https://github.com/tpoechtrager/cctools-port/pull/19) 2016-03-29 20:35:47 +02:00
Thomas Pöchtrager
ec95acda33 Wrapper: Remove unneeded '-fcolor-diagnostics'
There is something wrong with the pre-built binaries from llvm.org.
Colored warnings still work properly when building Clang/LLVM from source.
2016-03-29 20:20:11 +02:00
Thomas Pöchtrager
e3e3cfb83e Misc pkg-config adjustments (closes #69) 2016-03-29 20:16:54 +02:00
Thomas Pöchtrager
13240f3bd0 Fix for #67 2016-03-01 19:17:29 +01:00
Thomas Pöchtrager
69b9d83d9b Merge pull request #65 from stloeffler/patch-1
Let osxcross-macports pick up noarch packages
2016-02-28 21:27:56 +01:00
Stefan Löffler
43864e6d8f Let osxcross-macports pick up noarch packages
Some packages (such as the qt5 metapackage) are not architecture-specific - "noarch" versions should work on all architectures.
2016-02-28 12:08:30 -05:00
Thomas Pöchtrager
9d98be2cd0 Add back accidentally removed line break 2016-02-27 09:46:17 +01:00
Thomas Pöchtrager
f51b758db4 Clang 3.8 adjustments
... and while I am already there also update the copyright years
2016-02-27 09:40:10 +01:00
Thomas Pöchtrager
2bbed19dfa Update README.md 2016-02-27 09:35:24 +01:00
Thomas Pöchtrager
7a687c14e5 Update TODO 2016-02-27 09:35:19 +01:00
Thomas Pöchtrager
8aa9b71a39 build_clang.sh: Change default Clang version to 3.7.1 2016-01-11 21:48:25 +01:00
Thomas Pöchtrager
c56acb776a build_gcc.sh: change default gcc version to 5.3.0 2016-01-11 20:55:19 +01:00
Thomas Pöchtrager
0d26a10ad8 osxcross-macports: Add --i386 option (#62) 2016-01-11 20:38:17 +01:00
Thomas Pöchtrager
8bb70733d2 osxcross-macports: Let the user choose between 4 mirrors 2016-01-11 20:37:30 +01:00
Thomas Pöchtrager
1e1c8facb7 Update README.md 2015-12-23 19:38:18 +01:00
Thomas Pöchtrager
8d08611941 Update README.md 2015-12-23 19:36:55 +01:00
Thomas Pöchtrager
11423d4280 Merge pull request #59 from moul/patch-1
Add a reference to multiarch/crossbuild
2015-12-23 19:29:00 +01:00
Manfred Touron
ead3cf4e7a Add a reference to multiarch/crossbuild
https://github.com/multiarch/crossbuild uses OSXCross in Docker to build Darwin binaries.
2015-12-21 16:11:37 +01:00
Thomas Pöchtrager
a845375e02 Wrapper: Remove '-march=native' to hopefully fix #54 2015-11-02 19:12:46 +01:00
Thomas Pöchtrager
a83a2b12be build_compiler_rt.sh: Do not attempt to build an x86_64h slice when using an SDK with .tbd stubs.
This is an Xcode 7 regression.
More details can be found at: https://llvm.org/bugs/show_bug.cgi?id=24776
2015-10-28 21:21:51 +01:00
Thomas Pöchtrager
0ba6a543dd Misc wrapper changes:
* Cleanup
* xcrun: Add bitcode_strip to known Xcode tools
2015-10-28 21:15:54 +01:00
Thomas Pöchtrager
989c7f3b5f Improve '-stdlib=libc++' error message when a too old SDK is used (closes #52)
This just required to move some code around.
The appropriate error message was already there.

Before:

osxcross: error: targeted OS X version must be <= 10.6.0 (SDK)

After:

osxcross: error: libc++ requires Mac OS X SDK 10.7 (or later)
2015-10-28 20:32:10 +01:00
Thomas Pöchtrager
68cca0de16 Wrapper: Avoid some string operations 2015-10-28 20:24:52 +01:00
Thomas Pöchtrager
a4e9a2aea8 Update cctools to 877.5 and ld64 to 253.3
This finally adds support for Xcode 7 / El Capitan.

With this commit I am also removing ld64-134.9 support.
I kept ld64-134.9 for users with an old C++ standard library.
A decent C++ standard library with C++11 support is now mandatory.
2015-10-24 17:50:27 +02:00
Thomas Pöchtrager
6aa6f7941b Implement #41 (wrapper part) 2015-10-04 21:12:01 +02:00
Thomas Pöchtrager
51b03ccb4b Update the Cygwin README 2015-10-04 19:10:16 +02:00
Thomas Pöchtrager
adc3d0fa1f build_clang.sh: Do not bootstrap Clang on Cygwin 2015-10-04 19:07:55 +02:00
Thomas Pöchtrager
73e0b1587f Add GCC PR66035 patch 2015-10-04 18:58:46 +02:00
Thomas Pöchtrager
24753b8178 Cleanup: Remove the native Windows bits.
There will be no *native* Windows port of OSXCross anyway.
This does not affect Cygwin.
2015-10-04 18:02:07 +02:00
Thomas Pöchtrager
b3e53726b0 Update TODO & README 2015-10-04 17:39:54 +02:00
Thomas Pöchtrager
118d72e594 Implement workarounds for vanilla llvm-dsymutil compatibility 2015-09-24 21:10:34 +02:00
Thomas Pöchtrager
4ea0c29d0c Fix for #47 2015-09-19 23:04:53 +02:00
Thomas Pöchtrager
54e13441a9 gen_sdk_package_p7zip.sh: Add support for Xcode betas 2015-09-19 23:00:06 +02:00
Thomas Pöchtrager
b0c5b0ae48 Clang 3.7.0 is out 2015-09-19 22:55:01 +02:00
Thomas Pöchtrager
08414886fb Add llvm-dsymutil build script + re-add 7e9f85
This finally makes proper debugging possible
2015-08-31 21:02:38 +02:00
Thomas Pöchtrager
4debfb6b45 Make ld134.9 compile with old compilers 2015-08-29 13:38:08 +02:00
Thomas Pöchtrager
65b384923e Make LINKER_VERSION settable via env 2015-08-29 13:38:04 +02:00
Thomas Pöchtrager
749d0b14c9 Do not create x86_64h '-gstdc++' symlinks
There is no x86_64h slice in GCC's libstdc++.
2015-08-29 13:23:52 +02:00
Thomas Pöchtrager
20f784cde8 Update Binutils & GDB version 2015-08-29 12:56:40 +02:00
Thomas Pöchtrager
8d6d9e9444 Fix GCH/PCH test case 2015-08-29 12:56:40 +02:00
Thomas Pöchtrager
bf6dc769d1 Update KNOWN_BUGS.md 2015-08-29 12:56:40 +02:00
Thomas Pöchtrager
b023827eb4 Merge pull request #42 from reduz/patch-1
made more obvious what the packaged SDK is
2015-08-29 09:43:14 +02:00
Juan Linietsky
6d40f8af15 made more obvious what the packaged SDK is
it's simple, but  I went around the project for a while until i figure out what the packaged SDK was. Didn't naurally want to continue reading until I understood that point.
2015-08-28 14:02:27 -03:00
Thomas Pöchtrager
bae2a4ad82 Better PCH/GCH detection 2015-08-23 22:45:53 +02:00
Thomas Pöchtrager
f22bebe442 Update Changelog 2015-08-23 22:44:00 +02:00
Thomas Pöchtrager
5afdf2b471 Wrapper changes:
* Support for generating fat object files with gcc and '-foc-use-gcc-libstdc++'
  has been removed.

  This feature was not 100% correctly implemented; using multiple source files
  did not work, i.e.: 'o32-g++ -m32 -m64 a.cpp b.cpp' would have failed;
  And I refuse to implement that, instead I am removing all source file handling
  from the wrapper with this commit for simplicity.

  This feature should be implemented in the gcc driver instead.

  This does NOT affect clang's fat object file support, which is implemented in
  clang's darwin driver.

* '-oc-use-gcc-lib' has been renamed to '-foc-use-gcc-libstdc++'.

* Added support for '-stdc++' and '-gstdc++' compiler "shortcuts"

  o32-clang++ --> uses libstdc++ for <= 10.8 and libc++ for >= 10.9

  o32-clang++-libc++ --> uses the SDK's libc++
  o32-clang++-stdc++ --> uses the SDK's libstdc++
  o32-clang++-gstdc++ --> uses gcc's (build_gcc.sh) libstdc++

* Entirely rewrote the command line parser; the previous one wasn't very
  readable.

* Minor Readme Updates

* Added unit tests

* Removed OSXCROSS_C_STANDARD / OSXCROSS_CXX_STANDARD support

  I am no longer parsing -std=, so this feature has to be dropped.
  Setting the language standard via an env variable isn't a good idea anyway.

* Removed unneeded stuff

Other Changes:

* Version bump to 0.11
2015-08-22 23:15:27 +02:00
Thomas Pöchtrager
03e904d5f1 fix relocation issues 2015-08-21 23:32:37 +02:00
Thomas Pöchtrager
31a9707629 update the windows/cygwin readme 2015-07-20 22:48:23 +02:00
Thomas Pöchtrager
8927f86514 add windows/cygwin readme 2015-07-20 22:41:14 +02:00
Thomas Pöchtrager
1c6e42e2f2 cleanup 2015-07-20 21:13:36 +02:00