Commit Graph

17 Commits

Author SHA1 Message Date
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
118d72e594 Implement workarounds for vanilla llvm-dsymutil compatibility 2015-09-24 21:10:34 +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
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
29a5fee522 * add windows support via cygwin
* add openbsd and dragonfly support
* replace `` with $() in bash scripts
* misc other changes
2015-07-19 22:28:10 +02:00
Thomas Pöchtrager
da2b8f25f5 xcrun:
* handle '-sdk' / 'SDKROOT' (env.) properly.
  e.g. 'xcrun -sdk /[...]/MacOSX10.6.sdk clang' will use
  the specified 10.6 SDK.

* never execute xcode tools outside target/bin even when
  a full path is specified.
  e.g. 'xcrun /usr/bin/gcc' will execute target/bin/<triple>-gcc.

other wrapper changes:

* implement 'OSXCROSS_SDKROOT' env. variable for 'xcrun -sdk'.

* error on '-arch x86_64h' + clang <= 3.4.
  clang <= 3.4 misinterprets x86_64h as x86_64.

* only create x86_64h symlinks when the 10.8 (or later) SDK
  is used.

other changes:

* misc fixes and cleanup
2015-06-27 19:01:56 +02:00
Thomas Pöchtrager
02e1cb2a9e add a minimalistic implementation of xcrun 2015-06-21 11:46:01 +02:00
Thomas Pöchtrager
7734f4f0ed Revert "wrap dsymutil to llvm-dsymutil (#1)"
This reverts commit 7e9f856e6a.

it's too early, llvm-dsymutil still has a lot of issues
2015-06-13 11:06:29 +02:00
Thomas Pöchtrager
7e9f856e6a wrap dsymutil to llvm-dsymutil (#1) 2015-06-13 09:55:29 +02:00
Thomas Pöchtrager
f5aaf9faf9 fix for #34 2015-05-30 21:04:51 +02:00
Thomas Pöchtrager
8543a46c6c wrapper:
* minor fixes
* prepare for unit tests
2015-05-03 21:59:40 +02:00
Thomas Pöchtrager
9033b6b847 wrapper:
* improve and colorize warning/error/debug/info messages
* add include path warnings for /usr/include and /usr/local/include
other changes:
* bump version to 0.10
2015-05-02 21:49:23 +02:00
Thomas Pöchtrager
c375631ff4 update copyright years 2015-02-08 10:27:26 +01:00
Thomas Pöchtrager
5a217484ec add osxcross-macports - a minimalistic macports packet manager for 16.000+ binary packages 2014-12-24 10:52:24 +01:00
Thomas Pöchtrager
a34ce76854 misc fixes 2014-09-27 10:07:15 +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
413c33a5e9 split the wrapper into multiple files + some generic wrapper cleanups 2014-09-13 15:32:42 +02:00