Commit Graph

263 Commits

Author SHA1 Message Date
Thomas Pöchtrager
698ffd6bec update readme 2015-06-27 19:42:53 +02:00
Thomas Pöchtrager
2d9f410c8a add compiler-rt build script 2015-06-27 19:26:22 +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
f5bec454d3 build.sh: take care of symlinked sdks 2015-06-21 20:14:51 +02:00
Thomas Pöchtrager
a78504934d build.sh: add missing 'else' 2015-06-21 19:44:49 +02:00
Thomas Pöchtrager
c1e2c3a6d6 build.sh: ignore directories in tarballs/ (#37)
build.sh, tools.sh: add UNATTENDED option (#37)
xcrun.cpp: make local functions static
2015-06-21 19:35:09 +02:00
Thomas Pöchtrager
54d6ae9172 osxcross-man:
* use MANPATH environment variable instead of --manpath for more portability
* add (build_gcc.sh) gcc man pages
2015-06-21 17:18:51 +02:00
Thomas Pöchtrager
226435ef4e (really) fix p7zip 'share' directory permissions 2015-06-21 14:24:57 +02:00
Thomas Pöchtrager
3e46f6cc32 add 'osxcross-man' - man page tool 2015-06-21 14:07:19 +02:00
Thomas Pöchtrager
4450f62e1a add p7zip sdk packaging method (closes #33) 2015-06-21 14:01:49 +02:00
Thomas Pöchtrager
b8594af6a8 add codelite project 2015-06-21 11:49:11 +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
bdb734909e update readme 2015-05-30 22:28:57 +02:00
Thomas Pöchtrager
f5aaf9faf9 fix for #34 2015-05-30 21:04:51 +02:00
Thomas Pöchtrager
bae6ac72cd add darling-dmg packaging method (#33) 2015-05-30 21:01:48 +02:00
Thomas Pöchtrager
25051c6ab6 build_clang.sh: change default clang version to 3.6.1 2015-05-30 19:53:27 +02:00
Thomas Pöchtrager
2eb0032f7e add hfsexplorer sdk packging method to the readme (closes #33) 2015-05-23 20:24:43 +02:00
Thomas Pöchtrager
f8cd5e5818 fix for #31 2015-05-09 17:30:41 +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
5127b44d52 build_gcc.sh: change default gcc version to 5.1.0 2015-04-27 19:41:32 +02:00
Thomas Pöchtrager
3f26fde3e7 build_clang.sh: change default clang version to 3.6.0 2015-04-27 19:41:17 +02:00
Thomas Pöchtrager
75e11afda9 remove no longer needed '-Xclang -fdefine-sized-deallocation' 2015-04-19 16:01:14 +02:00
Thomas Pöchtrager
69d275877b an attempt to fix the otool disassembler 2015-02-24 22:16:29 +01:00
Thomas Pöchtrager
133a61d75a osxcross-env is also no longer needed 2015-02-24 21:19:27 +01:00
Thomas Pöchtrager
86b2ab7052 osxcross-env: remove obsolete LD_LIBRARY_PATH 2015-02-23 21:19:34 +01:00
Thomas Pöchtrager
49bc9aa407 ar, lipo, otool (etc.) should also be linked with -rpath for libLTO 2015-02-23 21:15:19 +01:00
Thomas Pöchtrager
736d20921d silence/fix -Wabsolute-value warnings 2015-02-23 21:07:29 +01:00
Thomas Pöchtrager
aa49d95066 build_clang.sh: clang 3.5.0 -> clang 3.5.1 2015-02-21 21:13:40 +01:00
Thomas Pöchtrager
7310cc3a61 update for another -fdefine-sized-deallocation change 2015-02-21 18:51:45 +01:00
Thomas Pöchtrager
c180b6ac24 -fdef-sized-delete -> -fdefine-sized-deallocation 2015-02-19 20:34:06 +01:00
Thomas Pöchtrager
9264fa6ead work around a recent clang change 2015-02-17 19:51:17 +01:00
Thomas Pöchtrager
cb5b96dd1e gcc: always pass -no_compact_unwind to the linker + some cleanup 2015-02-08 10:42:02 +01:00
Thomas Pöchtrager
c375631ff4 update copyright years 2015-02-08 10:27:26 +01:00
Thomas Pöchtrager
e04646ef7c add binutils / gdb build script 2015-02-08 10:17:41 +01:00
Thomas Pöchtrager
873ba3df94 misc freebsd fixes:
add tgmath.h intrinsic header file (required for the 10.10 sdk)
osxcross-macports: pass --ca-certificate=[...]/ca-root-nss.crt to wget
2015-02-08 09:18:49 +01:00
Thomas Pöchtrager
d6e191f24c make cctools / ld64 work properly with glibc < 2.10
https://github.com/tpoechtrager/cctools-port/pull/8
2014-12-26 11:26:43 +01:00
Thomas Pöchtrager
ba16479659 osxcross-macports: improve resolving package dependencies 2014-12-26 11:17:38 +01:00
Thomas Pöchtrager
07f8c01f91 fix 'osxcross-macports upgrade' 2014-12-24 14:06:30 +01:00
Thomas Pöchtrager
2b3179715a macports readme adjustments 2014-12-24 12:03:19 +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
8c0ca406b9 add OSXCROSS_GCC_NO_STATIC_RUNTIME option + cleanup 2014-12-24 09:54:27 +01:00
Thomas Pöchtrager
30140e9769 build_clang.sh: set +e before running which 2014-12-06 16:13:40 +01:00
Thomas Pöchtrager
e7407e84ab fix for https://github.com/tpoechtrager/osxcross/issues/25 2014-11-25 21:19:13 +01:00
Thomas Pöchtrager
e5d9db7ed0 update cctools to 862 and ld64 to 241.9
port changes:
- misc fixes
- add '-L/usr/pkg/lib' for NetBSD
- update libobjc2 to r37977
- silence / fix libobjc2 warnings
- remove freebsd ifdef in favor of '-isystem /usr/local'
- add installhdrs target (cctools-port/issues/2)
- prefer glibtoolize over libtoolize
- add support for OS X and iOS as host system (cctools-port/issues/1)
- add a workaround for a glibc 2.20 bug
- link with -rpath to ease finding libLTO
- check for __cxa_demangle in -lstdc++
- use std=c++0x instead of -std=gnu++0x
- fix ld64 to compile with libstdc++
- fix automake warnings
- ld64: enable all architectures

This also gets rid of the automake dependency.
2014-11-21 23:06:01 +01:00
Thomas Pöchtrager
746a6a42dd build_clang.sh should not depend on a finished build.sh run 2014-11-11 22:54:03 +01:00
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