Commit Graph

334 Commits

Author SHA1 Message Date
TheAssassin
46231a35cf Fixing shebang on dependency installation script.
The script assumes bash isn't installed which means it shouldn't be run with it.
2014-05-12 20:12:14 +02:00
Thomas Pöchtrager
523f4cd77c fix compiling ld64 with libc++ 2014-05-10 17:30:13 +02:00
Thomas Pöchtrager
c57030bc98 use -std=c++0x instead of -std=gnu++0x
as -std=gnu++0x seems to break compiling ld64 on some systems
2014-05-10 17:05:58 +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
ef6bfe6952 fix finding intrinsic headers on freebsd
fix an unwind issue with gcc + OS X <= 10.5
2014-05-08 23:07:42 +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
1eac22f6da get libstdc++ mutex header working with clang + -oc-use-gcc-libs + -mmacosx-version-min= < 10.7 2014-04-23 19:31:49 +02:00
Thomas Pöchtrager
115d200466 do not run gcc 'make install' with -j because it seems to cause troubles 2014-04-22 22:40:05 +02:00
Thomas Pöchtrager
8b7886350a gcc 4.8.2 -> 4.9.0
add a patch to make -oc-use-gcc-libs more friendly to use
2014-04-22 21:17:15 +02:00
Thomas Pöchtrager
9b642c3931 fix OSX_VERSION_MIN=default
take care of MACOSX_DEPLOYMENT_TARGET
fix a minor issue where '-oc-use-gcc-libs' would be ignored
2014-04-22 19:34:08 +02:00
Thomas Pöchtrager
c107d228c6 update changelog 2014-04-17 21:08:17 +02:00
Thomas Pöchtrager
e34da881ff misc wrapper changes:
- Machine -> Arch
- 'osxcross-conf': add missing OSXCROSS_VERSION
- error out on invald '-stdlib=' value
- add 'osxcross' util which can be used to check
  for an OSXCross installation
- fix 'libLTO.so: cannot open shared object file'
- listFiles(): windows implementation
- cleanup

get_dependencies.sh:
- debian: add --force-yes

add a patch to support some older linux dists
(such as debian squeeze)
2014-04-17 20:51:16 +02:00
Thomas Pöchtrager
f48fc4df7b update package.sh 2014-04-14 22:11:10 +02:00
Thomas Pöchtrager
e2ffb65509 reformat changelog 2014-04-14 22:05:41 +02:00
Thomas Pöchtrager
1e8ede1d78 support OS X itself too 2014-04-14 21:59:03 +02:00
Thomas Pöchtrager
f969ed09db fix 'csh' detection 2014-04-06 22:51:39 +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
03b2068713 Merge branch 'master' into ng 2014-04-06 16:05:25 +02:00
Thomas Pöchtrager
6c5b896e03 mark 'gen_sdk_package.sh' as executable 2014-04-06 15:59:39 +02:00
Thomas Pöchtrager
c0b2cf103d use two space indents 2014-04-06 15:58:15 +02:00
Thomas Pöchtrager
84377413a5 fix guess_sdk_version() (https://github.com/tpoechtrager/osxcross/issues/10) 2014-04-03 10:03:32 +02:00
Thomas Pöchtrager
22262b617f fix debian deps 2014-04-03 09:41:29 +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
9b1674129d do a new clone, had to force a history rewrite 2014-03-26 20:54:06 +01:00
Thomas Pöchtrager
cb5ddfdc97 update README 2014-03-26 20:41:55 +01:00
Thomas Pöchtrager
2dfe3a7839 update AUTHORS 2014-03-26 20:39:20 +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
792b6aa470 display sdk version 2014-03-26 20:38:46 +01:00
Don Bright
cac11aae40 mageia dependencies list 2014-03-26 20:38:46 +01:00
Don Bright
5f159c93a0 make tar call more portable for netbsd (dont use J) 2014-03-26 20:38:46 +01:00
Don Bright
95a5b77f7e fix for netbsd sh 2014-03-26 20:38:46 +01:00
Don Bright
b49fa5f337 mageia dependencies 2014-03-26 20:38:46 +01:00
Don Bright
35961a4929 better detection of 10.4 2014-03-26 20:38:46 +01:00
Don Bright
752c8a4ab5 netbsd dependencies 2014-03-26 20:38:46 +01:00
Don Bright
2e97a17b95 update for SuSE, better detection of multiple tarballs 2014-03-26 20:38:46 +01:00
Don Bright
457ea8b240 fedora needs libstdc++-static 2014-03-26 20:37:36 +01:00
Don Bright
d6430c5332 typo in script 2014-03-26 20:36:11 +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
Don Bright
4829d49f39 freebsd auto-get dependencies 2014-03-26 20:34:46 +01:00
Don Bright
60d74c1a40 freebsd autoget dependencies 2014-03-26 20:34:45 +01:00
Thomas Pöchtrager
e95390a7c1 update cctools port
changes:

do not store .gitignore in the package
fix an issue in emulated _NSGetExecutablePath()
fix finding llvm-config on FreeBSD 10
cctools: make is_llvm_bitcode() more portable (fixes -flto with multiple -arch flags)
ld64: use faster strlcpy()/strlcat() "helper" implementations
ld64: fix qsort_r() helper function
fix emulated _NSGetExecutablePath() for FreeBSD
fix -luuid linkage issue on FreeBSD 10
add DISABLE_LTO_SUPPORT option
2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
995ad1d4ab fix building GCC on FreeBSD
add missing float.h intrinsic header (FreeBSD)
2014-03-26 20:32:56 +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
e935b36688 fix compiling pre-compiled headers 2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
5e82ba96f7 add '--enable-checking=release' to the gcc configure flags 2014-03-26 20:32:56 +01:00
Thomas Pöchtrager
1077cf95fd switch to libc++ 3.4 (works fine with clang < 3.4)
get OSX_VERSION_MIN >= 10.9 working (defaults to libc++)
simplify the wrapper scripts a bit
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