Commit Graph

777 Commits

Author SHA1 Message Date
Wolfgang Thaller
df12324d15
Merge pull request #86 from autc04/gcc-9.1
Upgrade to GCC 9.1
2019-08-11 11:36:33 +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
Ezra Buehler
b6ad702a0f Samples: fix build for WDEF 2019-07-22 10:48:20 -04:00
Wolfgang Thaller
10b95c33d8 fix 68K inline functions 2019-06-23 23:55:18 +02:00
Wolfgang Thaller
2075e92f23 add test case for pascal traps 2019-06-23 17:27:47 +02:00
Wolfgang Thaller
3612935ed9 documentation updates 2019-06-23 16:50:09 +02:00
Wolfgang Thaller
a486d8267c update gcc version number in readme 2019-06-20 23:51:16 +02:00
Wolfgang Thaller
d29b12e18a conflict resolution 2019-06-20 20:48:48 +02:00
Wolfgang Thaller
a49302b4ee Merge branch 'upstream' (gcc 9.1) 2019-06-20 20:41:40 +02:00
Wolfgang Thaller
6fbf4226da gcc-9.1 2019-06-20 20:10:10 +02:00
Wolfgang Thaller
4162dfca54
Merge pull request #81 from alastairstuart/fix-header-parsing
Fix header processing on non en_US locales
2019-03-19 22:23:47 +01:00
Alastair Stuart
b94177ebde fix header processing on non en_US locales 2019-03-19 17:05:08 +00:00
Wolfgang Thaller
b99f252a27 add missing include (see #80) 2019-03-13 22:42:54 +01:00
Wolfgang Thaller
8d277dfbfa make LaunchAPPL work when only the needed autoquit/autquit7 image is specified 2019-02-11 21:20:21 +01:00
Wolfgang Thaller
5f60c59ea6
Merge pull request #79 from szymonlopaciuk/support_autquit7
Add support for using AutQuit7
2019-02-11 21:07:41 +01:00
Szymon Łopaciuk
89d4565f0d Autodetect System version for correct AutoQuit
Reads the System resource to find out the System Software
version for running correct AutoQuit.

Includes other minor changes.

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
2019-02-10 01:56:37 +00:00
Szymon Łopaciuk
a3919a0bb4 Add support for using AutQuit7
This allows the user to choose whether to use AutoQuit or AutQuit7
(which supports System 7). When the path to AutQuit7 is specified,
it will be configured according to the instructions at
https://www.gryphel.com/c/minivmac/extras/autquit7/ by putting an
alias to AutQuit7 in the "Startup Items" folder. That will cause
the application named "app" in the folder of AutQuit7 (top level,
no change) to start on boot, and will shut down the OS when quit.

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
2019-02-07 23:00:25 +00:00
Wolfgang Thaller
a74873bc39
Merge pull request #78 from szymonlopaciuk:fix_rom_symlink_bug
Fix error on ROM symlink creation if name non-standard
2019-02-07 22:51:15 +01:00
Szymon Łopaciuk
fe00dde02b Fix error on ROM symlink creation if name non-standard
This fixes a bug that appeares when using LaunchAPPL
with Mini vMac and a ROM which name is not "vMac.ROM".

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
2019-02-06 00:04:57 +00:00
Wolfgang Thaller
e8f346cc9f LaunchAPPLServer: some tweaks/fixes to standarf file dialogs 2019-01-27 11:35:17 +01:00
Wolfgang Thaller
ada9b67a75 LaunchAPPLServer: enable OpenTransport on 68K 2019-01-26 19:05:04 +01:00
Wolfgang Thaller
a3c8783a88 ConvertObj: handle "repeat" flag for data modules 2019-01-26 19:04:02 +01:00
Wolfgang Thaller
94c4bbabae StreamBasedLauncher: add missing #include 2019-01-26 14:43:43 +01:00
Wolfgang Thaller
4895adbaa7 LaunchAPPLServer: compatibility fix for older Universal Interfaces (fixes #77) 2019-01-25 20:56:29 +01:00
Wolfgang Thaller
c208bacbd6 reinstate DEBUGBREAK flag for add_application 2019-01-24 18:49:06 +01:00
Wolfgang Thaller
6106b89c9a LaunchAPPLServer: minor bugfixes 2019-01-24 18:15:47 +01:00
Wolfgang Thaller
c915b2d011 LaunchAPPLServer: use navservices on 68K 2019-01-24 17:39:10 +01:00
Wolfgang Thaller
693abc1998 Convert all MPW .o files from InterfacesAndLibraries 2019-01-24 17:37:28 +01:00
Wolfgang Thaller
0d6bcac631 Elf2Mac: --mac-keep-ldscript flag for debugging ldscript 2019-01-24 17:05:54 +01:00
Wolfgang Thaller
1290145e7d ConvertObj: handle local symbols 2019-01-24 00:44:51 +01:00
Wolfgang Thaller
738a218417 ConvertObj: use string ids internally 2019-01-23 23:49:19 +01:00
Wolfgang Thaller
9e0f85dbde ConvertObj: fix segaults in module sorting 2019-01-23 23:28:07 +01:00
Wolfgang Thaller
3327705fb3 ConvertObj: insist on proper "first" record and version 2019-01-23 23:12:07 +01:00
Wolfgang Thaller
2cf217fb64 ConvertObj: make module sorting deterministic 2019-01-23 23:09:44 +01:00
Wolfgang Thaller
3ae4e50fe4 ConvertObj: name encoding for some exotic names 2019-01-23 23:08:58 +01:00
Wolfgang Thaller
6ebb376cb1 ConvertOBJ: handle Comment and Filename records 2019-01-23 22:20:08 +01:00
Wolfgang Thaller
d16f1aae6b LaunchAPPL: shared file transport 2019-01-23 19:41:12 +01:00
Wolfgang Thaller
303428e10a Rez: allow trailing commas, like the original Rez does 2019-01-23 19:33:27 +01:00
Wolfgang Thaller
6f47ae00aa disable "Timeout" test by default, some LaunchAPPL backends can't abort programs 2019-01-23 10:57:41 +01:00
Wolfgang Thaller
e7f52c27e5 It's 2019, use C++17 by default 2019-01-22 18:34:36 +01:00
Wolfgang Thaller
c1839aed89 minor cmakelists cleanup 2019-01-22 18:29:03 +01:00
Wolfgang Thaller
a993bd3f7f documentation update 2019-01-22 18:28:44 +01:00
Wolfgang Thaller
21969fb358 Remove MakeAPPL 2019-01-22 14:31:22 +01:00
Wolfgang Thaller
7d2fd1bf78 make pascal attribute imply C linkage (fixes #75) 2019-01-21 21:42:41 +01:00
Wolfgang Thaller
b6bbe4d5a4 fix double make rule for m68k-mac-pragmas.o 2019-01-21 21:41:53 +01:00
Wolfgang Thaller
999897be07 Disk copy 4.2 image support for LaunchAPPL -e minivmac (fixes #76) 2019-01-19 11:47:10 +01:00
Wolfgang Thaller
f8a06b6d68 use the right RetroConsole library on Carbon (fixes #65) 2019-01-13 22:53:26 +01:00
Wolfgang Thaller
2999ed8613 change the way gcc's collect2 works to fix #74
GCC's AIX port, which RetroPPC is based on, uses a different method
from most other platforms to collect the list of all global constructors
and the list of all exception handling tables.
The "standard" method does not work on AIX because IBM's linker will
discard those symbols too early for GCC's liking if they are not
directly referenced.

Unfortunately, the workaround seems to keep too much, so PPC C++
exececutables were at least 1.1MB big.

We don't need to be compatible with IBM's linker. Instead, hack binutils
to keep the symbols that we need kept, and allow GCC to use the
"standard" method for the collect2 pass.

PowerPC application sizes are now down to a reasonable size.
2019-01-13 22:33:07 +01:00
Wolfgang Thaller
8d303a9185 add automated test for exception handling 2019-01-13 21:43:38 +01:00