Commit Graph

44 Commits

Author SHA1 Message Date
Tom Fairfield f55df9e129 fixes bug in build-toolchain when running on Power Mac
Running on a Power Mac + Tiger system, `uname -m` returns "Power Mac".
Unless the result is quoted, it will get improperly split and the if
conditional breaks.
2021-05-05 11:27:59 -07:00
Wolfgang Thaller 0bbb21ad98
Merge pull request #128 from ryandesign/patch-2
Use relative symlinks to Elf2Mac
2021-04-19 22:06:04 +02:00
Wolfgang Thaller 82330db7fb
Merge pull request #127 from ryandesign/patch-1
Fix typos in build script messages
2021-04-19 22:05:13 +02:00
Ryan Schmidt 9642da7eb1
Remove unused ARCHS variable 2021-04-19 03:13:45 -05:00
Ryan Schmidt 7240f29e22
Fix separate build directory instructions 2021-04-17 00:22:59 -05:00
Ryan Schmidt 63d6f6b684
Use relative symlinks to Elf2Mac
Use relative rather than absolute symlinks to Elf2Mac. This helps things
not break if the prefix is later moved.
2021-04-16 23:37:22 -05:00
Ryan Schmidt eb7223f368
Fix typos in build script messages 2021-04-15 15:27:58 -05:00
Wolfgang Thaller f428918183 add default search paths for dependencies installed via homebrew on ARM macs 2021-02-06 15:30:43 +01:00
Wolfgang Thaller 522a96e6ff hfsutils: fix repeated builds, get rid of an unnecessary symlink (#112) 2020-10-11 19:13:25 +02:00
Wolfgang Thaller 60f7efb5d4 fix out-of-source builds for hfsutils 2020-10-04 15:34:17 +02:00
Wolfgang Thaller 338da2da21 document git submodules, check for submodules, fail if bison or boost not present 2019-11-13 23:23:28 +01:00
Wolfgang Thaller 6fbfe6b68a don't refuse to build carbon support with multiversal interfaces 2019-11-12 00:08:46 +01:00
Wolfgang Thaller 26153cccf4 proper choice between universal and multiversal 2019-09-26 19:30:45 +02:00
Wolfgang Thaller 1f59b5f87f automatically build multiversal interfaces 2019-09-26 01:24:56 +02:00
Wolfgang Thaller fcf9548bff Stop using Apple's PEFBinaryFormat, use MultiversalInterfaces instead! 2019-09-08 20:54:09 +02:00
Ezra Buehler ac972cb6c7 Move man pages for hfsutils to share/man
This is only necessary for Homebrew. However, it makes sense in general,
it is where the other man pages lie.
2019-08-24 08:35:13 +02:00
Wolfgang Thaller 962b214833 Clean old interfaces and libraries in case of --skip-thirdparty 2019-08-18 22:33:35 +02:00
Wolfgang Thaller 78bc08814d make interfaces-and-libraries.sh handle PEFBinaryFormat.h 2019-08-18 12:31:05 +02:00
Ezra Buehler e76dfe1f4d Move Interfaces&Libraries handling to separate file
To enable binary distribution it is now possible to install Apple's
interfaces and libraries at a later point by running:

    interfaces-and-libraries.sh /install/to /from/InterfacesAndLibraries
2019-08-17 12:55:30 +02:00
Ezra Buehler 06ebaee1f8 Add --prefix option to build-toolchain.bash
Some people might want to install the toolchain to a path like
/usr/local/retro68.
2019-08-10 19:50:29 +02:00
Ezra Buehler e107fb0dfb Fix whitespace in build-toolchain.bash 2019-08-10 19:50:29 +02:00
Alastair Stuart b94177ebde fix header processing on non en_US locales 2019-03-19 17:05:08 +00:00
Wolfgang Thaller 693abc1998 Convert all MPW .o files from InterfacesAndLibraries 2019-01-24 17:37:28 +01:00
Wolfgang Thaller 641a8e2c77 automated tests: run all platforms in one command 2019-01-09 08:39:09 +01:00
Wolfgang Thaller f53e0a3c2b powerpc: disable binutils/bfd plugin support, it causes problems 2019-01-02 00:19:19 +01:00
Wolfgang Thaller e92b60224d build-toolchain: don't create empty libretrocrt.a, override cmake's compiler test instead 2019-01-02 00:18:26 +01:00
Wolfgang Thaller 564dd9be0e
Merge pull request #62 from donbright/patch-3
check the directories where the interfaces and libraries are installed to make sure they dont contain the '&' character, which breaks the build on linux. (some archives of the interfaces and libraries files, have them named as "Interfaces&Libraries")
2018-09-16 18:28:42 +02:00
don bright 86f54681d3
limit to dirs
limit to dirs per suggestiom
2018-09-03 17:58:16 -05:00
don bright 1afc72ad2d
Update build-toolchain.bash
check the directories where the interfaces and libraries are installed to make sure they dont contain the '&' character, which breaks the build on linux. (some archives of the interfaces and libraries files, have them named as "Interfaces&Libraries")
2018-07-18 07:35:05 -05:00
don bright 1e3f4b0031
Update build-toolchain.bash
the --no-ppc --no-carbon  build was broken because it was looking for ppc tools. this allows it to at least get through the script.
2018-07-16 22:43:51 -05:00
Wolfgang Thaller d1a3939015 Copy OpenTransportAppPPC.o and other PPC static libraries 2018-05-16 02:08:32 +02:00
Wolfgang Thaller a135f0b196 libretro: use separate library file names for Carbon and Classic PPC 2018-05-16 02:08:25 +02:00
Wolfgang Thaller 799bf4c4ac Pass --disable-libstdcxx-verbose for standard library build (see #23)
This prevents cxa_demangle aqnd most of the IO subsysten from being pulled in by std::terminate
2018-05-02 09:09:12 +02:00
C.W. Betts 7c0e99994b Add support for MacPorts 2018-01-17 15:01:08 -07:00
Wolfgang Thaller c517558e5b build-toolchain.bash: add --ninja option 2018-01-06 03:13:05 +01:00
Wolfgang Thaller f2c5029218 On Tiger, automatically apply the -fno-PIE workaround/hack (see previous commit); also, check that --host-c*-compiler options have been specified 2017-10-08 10:40:47 +02:00
Wolfgang Thaller 1a7ff978fe hacks to make gcc7.2 compile on Tiger 2017-10-08 08:46:32 +02:00
Wolfgang Thaller f65c69f656 newlib now has a threads.h header file, which conflicts with Apple's Threads.h on case-insensitive file systems. Suppress it.
It doesn't work anyway, as we would need to supply at least a platform-specific machine/_threads.h for it.
2017-10-07 21:38:09 +02:00
Wolfgang Thaller fd5a1e57f2 build-toolchain.bash: add missing options to help message 2017-10-05 15:32:12 +02:00
Wolfgang Thaller da6426b207 Tiger compatibility; most importantly, we want a C99 compiler 2017-10-05 14:52:17 +02:00
Wolfgang Thaller bf7325099e Take only libelf from elfutils and simplify the build system 2017-09-28 18:31:03 +02:00
Wolfgang Thaller 008ffe1401 Elf2Mac, a replacement for elf2flt.
Right now this is not an improvement, but the plan is to work towards multi-segment apps.
2017-09-23 03:56:37 +02:00
Wolfgang Thaller 0b99d3d330 build-toolchain: Reinstate fallback to pre-built import libraries, for now 2017-04-25 03:33:32 +02:00
Wolfgang Thaller 814fe339b5 more README.md updates, rename build-toolchain.sh to build-toolchain.bash to avoid confusion 2017-04-25 03:33:22 +02:00