Commit Graph

374 Commits

Author SHA1 Message Date
Wolfgang Thaller
57906f91c1 zero-terminate relocation list 2017-09-23 20:11:38 +02:00
Wolfgang Thaller
5059b87fe4 relocate.c: reduce reliance on the FLT header (it has to go) 2017-09-23 19:56:36 +02:00
Wolfgang Thaller
278780642e make DEBUGBREAK flag for add_application work again 2017-09-23 04:00:30 +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
d21be3b4e1 Add elfutils-0.170
(from https://sourceware.org/elfutils/, GPL/LGPL licensed)
2017-09-21 21:04:42 +02:00
Wolfgang Thaller
0ecc07538f Make things work with Universal Interfaces 3.0 2017-09-21 15:41:10 +02:00
Wolfgang Thaller
48d530bf49 PEFTools/PEF.h tweak 2017-09-19 00:48:08 +02:00
Wolfgang Thaller
49b9ef60c4 Merge pull request #24 from DrJosh9000/patch-1
brew install boost --c++11
2017-08-03 10:12:46 +04:30
Josh Deprez
db984e580e brew install boost --c++11
I ran into problems by having a boost already installed, just not with --c++11. Removing and re-installing fixed it.
This PR may provide enough of a hint to new users, but I'm not sure.
2017-05-31 15:28:30 +10: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
d93277459b Add ResInfo utility, for figuring out info about encoded resource forks 2017-04-25 03:33:31 +02:00
Wolfgang Thaller
3c4350b435 ResourceFiles: read-only AppleDouble support (._filename convention) 2017-04-25 03:33:30 +02:00
Wolfgang Thaller
d55bee477e MakeImport/MakePEF: communicate exact member name to MakePEF even if file system does not support MacRoman-encoded filenames. 2017-04-25 03:33:28 +02:00
Wolfgang Thaller
3858c32613 MakeImport: forget about plan B. If there's no 'cfrg' resource, we can't know the shlib name to link to at runtime. 2017-04-25 03:33:27 +02:00
Wolfgang Thaller
61e33b198c MakeImport: deal with absence of 'cfrg' resource 2017-04-25 03:33:26 +02:00
Wolfgang Thaller
e3c57148f8 add a note about building on Mac OS X 10.4 2017-04-25 03:33:24 +02:00
Wolfgang Thaller
e1e1734a84 add empty InterfacesAndLibraries 2017-04-25 03:33:23 +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
Wolfgang Thaller
6eb2b66987 update README.md for Universal Interfaces requirements 2017-04-25 03:33:20 +02:00
Wolfgang Thaller
3ef227b418 compatibility for old MacOS (find doesn't support -lname option) 2017-04-25 03:33:19 +02:00
Wolfgang Thaller
812b29dd17 remove CFLAGS=-Wno-error, which was there for historical reasons 2017-04-25 03:33:18 +02:00
Wolfgang Thaller
0e11f298ba Major rearrangement of build-toolchain.sh; interfaces & libraries now taken from InterfacesAndLibraries/ 2017-04-25 03:33:16 +02:00
Wolfgang Thaller
a2dced79b4 MakeImport: don't crash on non-library files 2017-04-25 02:14:58 +02:00
Wolfgang Thaller
b54493c18a ConvertObj: handle some corner cases, silence overly verbose output 2017-04-25 02:14:57 +02:00
Wolfgang Thaller
4d0f9e202c m68k: uppercase pascal functions for linking 2017-04-25 02:14:56 +02:00
Wolfgang Thaller
fe6f08fd7f ConvertObj: a tool for converting MPW .o files 2017-04-25 02:14:55 +02:00
Wolfgang Thaller
5cfae0a98b Prevent hfsutils from rebuilding configure script 2017-04-22 03:45:20 +02:00
Wolfgang Thaller
a919b6f1af build C version of raytracer without using c stdlib 2017-04-21 18:45:20 +02:00
Wolfgang Thaller
6e54d4c229 minor console fixes (mostly for Carbon) 2017-04-21 18:42:57 +02:00
Wolfgang Thaller
15371488f4 Merge branch 'gcc-6.3' 2017-04-18 00:27:46 +02:00
Wolfgang Thaller
301994c27d restore -carbon option, lost during merge 2017-04-15 10:09:07 +02:00
Wolfgang Thaller
f81f308e0e fix missing newlib files removed during merge 2017-04-14 22:38:01 +02:00
Wolfgang Thaller
0f2c7307c2 ad boost include directory in CMakeLists, and, as a hack force use of /usr/local/include
# Conflicts:
#	build-toolchain.sh
2017-04-13 01:17:58 +02:00
Wolfgang Thaller
6a76b6e593 try to reduce libstdc++ size by passing some configure options 2017-04-13 00:25:34 +02:00
Wolfgang Thaller
882ff68a18 build-toolchain: add --no-68k, --no-ppc, --no-carbon flags. 2017-04-12 11:56:34 +02:00
Wolfgang Thaller
431390d872 brutally use absolute addresses in exception handling tables and stick them in .data (for now) 2017-04-12 11:55:14 +02:00
Wolfgang Thaller
17d92f98a3 work around a mysterious compiler crash 2017-04-12 11:54:30 +02:00
Wolfgang Thaller
4564e9e774 gcc 6.3 seems to have problems with make -j8 2017-04-12 11:53:47 +02:00
Wolfgang Thaller
71f78cceb8 Merge branch 'upstream' into gcc-6.3
# Conflicts:
#	binutils/bfd/coff-rs6000.c
#	gcc/gcc/calls.c
#	gcc/gcc/config/m68k/m68k.c
#	gcc/gcc/config/rs6000/rs6000.opt
#	gcc/gcc/cp/cfns.gperf
#	gcc/gcc/cp/cfns.h
#	gcc/gcc/cp/parser.c
2017-04-11 23:25:51 +02:00
Wolfgang Thaller
d464252791 re-add newlib 2017-04-11 23:13:36 +02:00
Wolfgang Thaller
95b59e3315 Support for older systems (64K ROMs). See issue #22.
Thanks to @mdanh2002 for submitting the patch.
2017-04-11 20:44:47 +02:00
Wolfgang Thaller
26c2330aae patch gcc to compile with gcc 6.2 (long since fixed in the official gcc) 2017-04-11 18:55:40 +02:00
Wolfgang Thaller
21ec187812 68K: get -mpcrel to work (for tiny programs) 2017-04-11 18:55:39 +02:00
Wolfgang Thaller
45bf39e1f7 prepare-headers: include fenv.h 2017-04-11 18:55:38 +02:00
Wolfgang Thaller
0a883ac4aa upgrade gcc to 6.3.0, binutils to 2.28 2017-04-10 13:32:00 +02:00
Wolfgang Thaller
c4e19a6cac prepare-headers: deal with Interfaces from QuickTime for Windows SDK 2016-07-08 02:08:33 +02:00
Wolfgang Thaller
b170465d06 fix build-toolchain.sh 2016-07-08 01:16:01 +02:00
Wolfgang Thaller
ee2ce6a1b0 fix header file filtering 2016-07-08 01:01:14 +02:00
Wolfgang Thaller
ead3ac1ad6 add --cmakeonly option 2016-06-17 22:58:32 +02:00
Wolfgang Thaller
f0173384c0 Rez/CMakeLists.txt: Call bison directly, don't rely on bison_target (which seems to have changed in subtle ways) 2016-06-09 22:48:45 +02:00