Commit Graph

94 Commits

Author SHA1 Message Date
Thomas Pöchtrager
261de10511 Support ARM target 2020-08-15 20:07:54 +02:00
Thomas Pöchtrager
1b731164df Fix for #221 2020-04-11 22:30:28 +02:00
Thomas Pöchtrager
2f02baaf90 osxcross-macports: Add 10.15 target 2020-04-10 19:48:00 +02:00
Thomas Pöchtrager
4d46f4bbf2 Build scripts & osxcross-macports: Tweak tarball download code 2020-04-10 19:46:06 +02:00
Thomas Pöchtrager
748108aec4 * Bump Version to 1.2
* Drop support for <= 10.5 SDKs (use osxcross-1.1 branch instead)
* Adjustments for ld64 512.4
2020-03-22 13:04:53 +01:00
Thomas Pöchtrager
6edf1ca936 * Add xcodebuild stub tool. Only '-version' is supported.
* build_compiler_rt.sh: Change git repository. The llvm.org one is no longer synced.
* build_compiler_rt.sh: Add check for os/lock.h.
* xcrun: "Support" -show-sdk-platform-path.
* sw_vers: Output 0CFFFF for Build Version.
2020-03-10 16:49:39 +01:00
Thomas Pöchtrager
542acc2ef6 Make OSXCross work on Android (Termux)
Additional changes:

5e9c52005f
9fa76fb95a
8239a5211b

cd9885b97f
2019-11-06 20:42:24 +01:00
Thomas Pöchtrager
2f504fe4ba * Update cctools to 927.0.2 and ld64 to 450.3
* Added back support for OpenBSD
* Some cleanup and various fixes
2019-11-02 13:26:21 +01:00
Thomas Pöchtrager
379f7648c3 Make TARGET_DIR configurable (#108, #137, #201) 2019-10-23 16:06:00 +02:00
Sebastian Krzyszkowiak
832e3b2b3f
Add missing zlib1g-dev Debian dependency 2019-10-06 17:18:31 +02:00
Thomas Pöchtrager
37894c5839 gen_sdk_package_*.sh: Accept relative Xcode paths (closes #189) 2019-08-16 10:09:22 +02:00
Thomas Pöchtrager
ada9ea8d1b Some cleanup 2019-06-04 18:34:11 +02:00
Thomas Pöchtrager
8a780ba3ae Although it may work, GCC shouldn't be built by clang 2019-06-02 09:40:04 +02:00
Thomas Pöchtrager
68bdbd9452 New:
* Added support for TAPIv3 stubs (including "zippering" target)
* Added support for MacOSX SDKs up to 10.14
* Added new SDK packaging script for SDKs that end with ".xip" (tools/gen_sdk_package_pbzx.sh <xcode.xip>) (tested up to Xcode 10.2.1)
* Updated cctools to 921 and ld64 to 409.12

Fixed:
* Implemented fix for https://github.com/tpoechtrager/osxcross/issues/171
* Implemented fix for https://github.com/tpoechtrager/osxcross/issues/178
* Implemented fix for https://github.com/tpoechtrager/osxcross/issues/182

Changed:
* cctools, ld64, apple-libtapi and xar are now "git clone"'d and no longer come with OSXCross.

Removed:
* Support for Cygwin and *BSD (besides FreeBSD)
* Support for building OSXCross with GCC
2019-06-01 19:57:44 +02:00
Thomas Pöchtrager
ee54d9fd43
Remove unneeded file 2019-03-07 15:04:49 +01:00
b1ue
bea1afb2f3 Fix the findtherightuser problem 2019-03-07 14:25:15 +01:00
b1ue
a1c48a02d4 Update: it is better to use env to handle the case the host system has multiple users 2019-03-07 12:38:41 +01:00
b1ue
05b2486a0c Added feature to install uuid from AUR 2019-03-07 11:37:23 +01:00
b1ue
a298620e9d Added Arch linux option in the dependencies script 2019-03-05 16:26:10 +01:00
Quentin PARIS
9419c1be8f osxcross-macport: support for universal binaries 2018-10-13 21:17:38 +02:00
Thomas Pöchtrager
f4ba4facae
Merge pull request #148 from jpcima/cmake
add CMake
2018-09-09 08:52:23 +02:00
don bright
7f85bacb59
fix issue #118
fix issue #118
2018-08-20 18:47:59 -05:00
JP Cimalando
d4628c4377 CMake: provide the definition of CMAKE_INSTALL_NAME_TOOL 2018-07-21 01:55:49 +02:00
Thomas Pöchtrager
c47ff0aeed gen_sdk_package_darling_dmg.sh: Update darling-dmg to 991a1c19d67e30ad1099fc871c4f9e702dd4d489 2018-06-29 16:10:45 +02:00
Thomas Pöchtrager
38baf8d2fa gen_sdk_package_p7zip.sh: Compile p7zip sources as C++03 2018-06-29 16:10:22 +02:00
JP Cimalando
f394d6a890 add CMake 2018-03-10 18:29:47 +01:00
heinrich5991
51805010c9 Fix compilation issue in darling-dmg
This pulls in the https://github.com/darlinghq/darling-dmg/pull/41 fix
for compilation with newer GCC.

The error message this fixes is
```
osxcross/build/darling-dmg/src/main-fuse.cpp:137:28: error: no member named 'function' in namespace 'std'
int handle_exceptions(std::function<int()> func)
                      ~~~~~^
osxcross/build/darling-dmg/src/main-fuse.cpp:137:44: error: use of undeclared identifier 'func'
int handle_exceptions(std::function<int()> func)
                                           ^
osxcross/build/darling-dmg/src/main-fuse.cpp:137:49: error: expected ';' after top level declarator
int handle_exceptions(std::function<int()> func)
                                                ^
                                                ;
3 errors generated.
```
2017-10-25 09:50:23 +02:00
Thomas Pöchtrager
6f603a9c0a Misc 'osxcross-macports' fixes 2017-02-19 19:50:18 +01:00
Hartmut Goebel
f9ebecaa1d Add descriptive header to tool scripts. 2017-01-18 11:02:52 +01:00
Thomas Pöchtrager
2b3387844c Fix linking libLTO on 64-bit Cygwin (#91) 2016-10-31 12:51:08 +01:00
Thomas Pöchtrager
98a7b55070 Cygwin: Avoid symlinks and append .exe to executables (#91) 2016-10-29 19:26:05 +02:00
Thomas Pöchtrager
24562a5590 gen_cyglto_dll.sh should not depend on running build.sh first 2016-09-23 21:29:27 +02:00
Thomas Pöchtrager
e108c9eeb6 cpucount.cpp: std:🧵:hardware_concurrency() may return 0 2016-09-22 20:23:22 +02:00
Thomas Pöchtrager
33b64c1121 get_cpu_count.sh tweaks 2016-09-22 19:14:50 +02:00
Jeroen T. Vermeulen
d3961b8ed4 Replace cpucount.c with cpucount.cpp.
Uses a new function in C++11.  Avoids platform-specific code.
2016-09-22 19:01:58 +02:00
Thomas Pöchtrager
233b1d8860 Various Cygwin fixes (#87, #88) 2016-09-22 18:58:45 +02:00
Thomas Pöchtrager
e00e0d17d1 gen_sdk_package_darling_dmg.sh: Minor formatting tweaks 2016-09-18 20:34:52 +02:00
Frederick Zhang
538121f441 skip fuse module check in ubuntu 2016-09-17 22:30:26 +10:00
Thomas Pöchtrager
220a4ccbea gen_sdk_package_darling_dmg.sh: Fix libdmg.so issue 2016-04-13 19:08:19 +02:00
Thomas Pöchtrager
13240f3bd0 Fix for #67 2016-03-01 19:17:29 +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
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
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
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
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
1c6e42e2f2 cleanup 2015-07-20 21:13:36 +02:00
Thomas Pöchtrager
39b6994d97 minor fixes 2015-07-19 23:19:31 +02:00