Maarten ter Huurne
|
013ce9ef90
Compile against the default SDK on Mac OS X
|
10 years ago |
Maarten ter Huurne
|
29259668f2
Fix linking under OS X to not pick up libstdc++
|
10 years ago |
Maarten ter Huurne
|
e97f7029be
Fixed platform Makefile for OS X 10.7
|
11 years ago |
wouter
|
d089095d55
Various text-processing stuff
|
11 years ago |
Alex Wulms
|
80d78b6a37
Support build of shared library (preparation for Android port)
|
12 years ago |
Maarten ter Huurne
|
3dc0f91bcc
Use GCC and old Xcode location for PPC compiles.
|
12 years ago |
Maarten ter Huurne
|
6b2992273e
In Mac OS X, check whether SDK dir exists. Check both the location of the Xcode app from the Mac App Store and the installation location of the older Xcode. And if their exists, display an error message. Thanks to FiXato.
|
12 years ago |
Maarten ter Huurne
|
09014c5c40
For Mac OS X, switch to clang as the compiler and drop PPC support. PPC support was already tricky on OS X 10.6, doing it on 10.7 would be too much of a hassle. Also updated SDK path to use Xcode from the Mac App Store.
|
12 years ago |
Maarten ter Huurne
|
be645d1b60
OS X buid: the -bind_at_load link flags is not needed anymore either. Actually, I am not sure it was ever needed, but the current linker does not suggest it anymore.
|
13 years ago |
Maarten ter Huurne
|
96b914ba66
OS X build: setting MACOSX_DEPLOYMENT_TARGET does not seem to be necessary anymore either.
|
13 years ago |
Maarten ter Huurne
|
e5b264e1bd
OS X build: setting NEXT_ROOT does not seem to be necessary anymore.
|
13 years ago |
Maarten ter Huurne
|
3944a43235
Removed unnecessary link flag. Probably -isysroot of GCC already adds this to the link flags.
|
13 years ago |
Maarten ter Huurne
|
80f6bdb23a
Use -mmacosx-version-min option to GCC, which sets __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__, instead of setting that directly.
|
13 years ago |
Maarten ter Huurne
|
493c544754
Do not force Xcode 3 on x86_64.
|
13 years ago |
Maarten ter Huurne
|
7b97e21382
Use OS X 10.6 SDK for all archs, this avoids a compile error in MidiOutCoreMIDI.cc. Also use SDK and GCC from Xcode 3, because the Xcode 4.2 versions no longer support PPC.
|
13 years ago |
Maarten ter Huurne
|
a8482a94bd
Add support for MIDI output to a virtual endpoint under CoreMIDI on Mac OS X. Thanks to Valken for the prototype that this feature is loosely based on. The current version sends MIDI events for the current host time, it would be better to convert the given EmuTime to host time instead.
|
13 years ago |
Maarten ter Huurne
|
0df7110c75
Use Python exclusively to determine system libraries. This removes duplication between the Python and the Make part of the build.
|
14 years ago |
Maarten ter Huurne
|
1df2991100
Pick an SDK depending on the CPU: x86_64 requires OS X 10.6. Pick a compiler depending on the SDK: an SDK typically contains only headers for the GCC version used to compile that specific release.
|
15 years ago |
Maarten ter Huurne
|
fd8e7f2449
Fixed compilation on Mac OS X 10.6 (Snow Leopard). This was only possible by removing support for OS X 10.3, since that is no longer included in the new SDK releases.
|
15 years ago |
Maarten ter Huurne
|
94cf4c7c7a
Always build an app folder on Mac OS X. This removes the "darwin-app" pseudo platform.
|
15 years ago |
Maarten ter Huurne
|
1508a9a4cb
Use "g++" as default compiler on all platforms.
|
15 years ago |
Maarten ter Huurne
|
2a8afe0023
Split "platform-*.mk" into generic platform info (same file) and probe overrides (new "probe-*.mk" file). This avoids evaluation of undefined variables, which is silently ignored by Make but treated as an error by "makeutils.py".
|
15 years ago |
Maarten ter Huurne
|
2143bb500c
Hardcoded OS X 10.3 SDK path. The reason for the original wildcard expression is that the SDK for building on OS X 10.3 targets 10.3.0, but we have not been able to build on 10.3 (only for 10.3 on 10.4+) for a long time because of the outdated GCC it includes.
|
15 years ago |
Maarten ter Huurne
|
9b0d78008b
Removed "2>> $(LOG)" parts of the probe definitions and also the filter that discarded them.
|
15 years ago |
Maarten ter Huurne
|
af091b4cbc
Look for Jack in MacPorts and Fink installation directories.
|
16 years ago |
Maarten ter Huurne
|
3315491341
Do not use GCC 3.3 for PPC compilation anymore, since support for compiling openMSX with GCC 3.3 was dropped.
|
17 years ago |
Maarten ter Huurne
|
8a8d7181df
I remembered why we have to build against the SDK even for local binaries: linking is broken on 10.3 otherwise (QuickTime and more).
|
17 years ago |
Maarten ter Huurne
|
cbf1cf87bf
Force libstdc++.a to be taken from the SDK instead of /usr. Thanks to BouKiCHi.
|
17 years ago |
Maarten ter Huurne
|
2a4046a00f
Renamed DarwinPorts to MacPorts.
|
17 years ago |
Maarten ter Huurne
|
a22736b7aa
Only build against SDK when using 3rd party libs. Also make sure all system-wide headers and libs are looked up in the SDK.
|
17 years ago |