Commit Graph

1105 Commits

Author SHA1 Message Date
Wolfgang Thaller
6b552072a9 Merge branch 'master' into gcc12-update 2023-12-12 23:47:15 +01:00
Wolfgang Thaller
6ac29f751a fix weak[BS] symbol bug in xcoff linker 2023-12-12 20:40:58 +01:00
Wolfgang Thaller
c0d4e00b35 add LocalStatic test case 2023-12-12 20:40:57 +01:00
Wolfgang Thaller
d2dbd28dd3 update gitignore 2023-12-12 20:39:32 +01:00
Wolfgang Thaller
a97417fecc ci: update nix docker version 2023-12-09 01:03:45 +01:00
Wolfgang Thaller
04ab7e92ac
Merge pull request #214 from VyrCossont/patch-1
Add texinfo to brew install commands
2023-12-08 17:12:25 +01:00
Vyr Cossont
3537637c0f
Add texinfo to brew install commands
Following the instructions as is on macOS results in `build-toolchain.bash` failing with `WARNING: 'makeinfo' is missing on your system`. The readme was updated in #59 but only for Ubuntu.
2023-10-23 13:08:19 -07:00
Karim Vergnes
7d2ebc7ba6
Hotfix: inherit system provided in argument 2023-10-09 17:31:35 +02:00
Karim Vergnes
0de4f1502b
Use global nixpkgs to allow immutable builds 2023-10-09 17:28:24 +02:00
Wolfgang Thaller
4007b27d05 fix plain C pascal strings 2023-07-04 23:30:47 +02:00
Wolfgang Thaller
5f88250601
Merge pull request #203 from ryandesign/patch-1
ConvertObj: Fix typo in comment
2022-12-29 20:49:23 +01:00
Wolfgang Thaller
3f74aa7561
Merge pull request #202 from ryandesign/ryandesign-void
Declare all C function parameters
2022-12-29 20:49:05 +01:00
Ryan Schmidt
b80f694ad1
ConvertObj: Fix typo in comment 2022-12-05 07:05:58 -06:00
Ryan Schmidt
8f68ffd203 Declare all C function parameters
Specify parameters for all C functions. Not specifying parameters is the
same as specifying "void" in C++ and in C23 and later but that's not the
case in C prior to C23.

Compile C files with the same warnings as C++ files, additionally making
the strict prototypes warning an error to catch such problems in the
future. This commit isn't intended to address all the other warnings now
being emitted.
2022-12-05 06:48:30 -06:00
Wolfgang Thaller
3e426b21ea
Merge pull request #196 from ryandesign/multiseg-zero-pad-id
Fix multisegment app with > 10 CODE resources
2022-12-04 19:47:10 +01:00
Wolfgang Thaller
281135ccfa add test for pascal strings in C++ 2022-12-04 10:28:57 +01:00
Wolfgang Thaller
a966fd5f8a Elf2Mac: don't insist that sections actually exist 2022-12-04 10:28:33 +01:00
Wolfgang Thaller
b7f956111a nix: add texinfo build input 2022-12-04 10:27:21 +01:00
Wolfgang Thaller
1facbfab7d
Merge pull request #201 from ryandesign/patch-1
ConvertObj: Fix typos in error messages
2022-12-04 10:16:50 +01:00
Ryan Schmidt
ee75babf9e
ConvertObj: Fix typos in error messages 2022-11-27 16:35:46 -06:00
Wolfgang Thaller
2abb66c0b7 work around (fix?) the strange cross-segment refs that GNU ld generates when debug info is present 2022-10-28 18:03:30 +02:00
Wolfgang Thaller
74fc6d3995 add automated test for pascal string literals 2022-10-28 11:39:46 +02:00
Wolfgang Thaller
ca8e6715cb PowerPC: we need XCOFF_DEBUG, dwarf doesn't work 2022-10-28 11:38:55 +02:00
Wolfgang Thaller
d0bc757570 fixes for gcc 12.2 update 2022-10-27 23:05:23 +02:00
Wolfgang Thaller
3bd66e8819 re-apply fix lost in merge 2022-10-27 22:00:33 +02:00
Wolfgang Thaller
326b9c406d Merge branch 'upstream' into gcc12-update 2022-10-27 21:55:34 +02:00
Wolfgang Thaller
70cf4d1e0b gcc 12.2.0 and newlib 4.2.0 (484d2ebf8d82) 2022-10-27 20:55:19 +02:00
Wolfgang Thaller
f485e125c4 binutils 2.39 2022-10-27 20:45:45 +02:00
Wolfgang Thaller
6ea1bcda2b Revert "switch from binutils only to binutils-gdb, tag gdb-10.1-release"
This reverts commit 6c5c652ee1.
2022-10-27 20:43:13 +02:00
Ryan Schmidt
695053149e Fix multisegment app with > 10 CODE resources
Closes #195
2022-10-26 20:16:14 -05:00
Wolfgang Thaller
2d38cceb19
Merge pull request #189 from ryandesign/minivmac-copy-attrs
MiniVMac.cc: Preserve attributes when copying
2022-10-25 23:27:07 +02:00
Wolfgang Thaller
932ceadf9c
Merge pull request #190 from ryandesign/LaunchAPPL-find-libhfs
LaunchAPPL: Find libhfs header/library
2022-10-25 23:26:29 +02:00
Ryan Schmidt
f06c07d40d LaunchAPPL: Find libhfs header/library 2022-10-08 00:06:46 -05:00
Ryan Schmidt
14f5ad3728 MiniVMac.cc: Preserve attributes when copying
When copying files from the system disk image to the new disk image,
preserve all attributes (creation date, modification date, bundle bit,
locked bit, etc.), except clear the inited bit so that the Finder
chooses new icon positions, otherwise (under System 6 at least) the
icons pile up on top of each other. Preserving the bundle bit in
particular tells the Finder to look in the file for icon information
when building the desktop database, without which the files all show
generic icons in the Finder.
2022-10-06 17:11:32 -05:00
Wolfgang Thaller
3db76c9abe
Merge pull request #188 from ryandesign/libretro-typos
Fix typos in comments in libretro
2022-10-06 23:36:06 +02:00
Ryan Schmidt
97b257e8b4 Fix typos in comments in libretro 2022-10-05 19:53:00 -05:00
Wolfgang Thaller
280a1e4ac6
Merge pull request #186 from ryandesign/LaunchAPPL.cfg-typos
LaunchAPPL.cfg.example: Fix typos
2022-10-02 14:12:19 +02:00
Ryan Schmidt
18f189162e LaunchAPPL.cfg.example: Fix typos 2022-10-02 00:28:47 -05:00
Wolfgang Thaller
1f533b761c
Merge pull request #183 from ryandesign/minivmac-find-folder
MiniVMac.cc: Use localized Extensions and Startup Items folder names
2022-10-01 11:12:47 +02:00
Wolfgang Thaller
c5c9e281f4
Merge pull request #182 from ryandesign/minivmac-finder-macsbug
MiniVMac.cc: Get Finder/MacsBug name from boot blocks
2022-10-01 11:12:06 +02:00
Wolfgang Thaller
ccc8ad12bb
Merge pull request #181 from ryandesign/LaunchAPPL.cfg-minivmac-system7
LaunchAPPL.cfg.example: Update for System 7
2022-10-01 11:11:28 +02:00
Wolfgang Thaller
8798070524
Merge pull request #177 from ryandesign/minivmac-alias
MiniVMac.cc: Fix alias creation code
2022-10-01 11:11:09 +02:00
Wolfgang Thaller
45236e10c0
Merge pull request #180 from ryandesign/azure-macos11
Azure: Update to macOS 11
2022-09-22 22:02:00 +02:00
Wolfgang Thaller
0288f3d5a6
Merge pull request #178 from ryandesign/add_application-r-absolute
cmake: Allow rez files specified by absolute path
2022-09-22 22:01:30 +02:00
Wolfgang Thaller
c0fcf42d04
Merge pull request #173 from ryandesign/cmake-powerpc
Make ppc/carbon cmake files refer to powerpc dir
2022-09-22 21:58:10 +02:00
Wolfgang Thaller
48d5bc0bb0
Merge pull request #169 from autc04/ppc601-by-default
switch PROCESSOR_DEFAULT to PROCESSOR_PPC601
2022-09-22 21:57:39 +02:00
Ryan Schmidt
72322d65d7 MiniVMac.cc: New method FindFolder
Remove hardcoded Extensions and Startup Items folder names and get the
correct localized names from the System file's 'fld#' resource.
2022-09-22 06:35:53 -05:00
Ryan Schmidt
425bb8b054 MiniVMac.cc: New method ReadSystemResources
Move the System file resource-reading code out of GetSystemVersion and
into a new ReadSystemResources method which stores the resources in a
new member variable so that it can be used by multiple methods.
2022-09-22 05:27:51 -05:00
Ryan Schmidt
171577c140 MiniVMac.cc: Get Finder/MacsBug name from boot blocks
Closes: #172
2022-09-22 03:33:04 -05:00
Ryan Schmidt
00cd6666a4 LaunchAPPL.cfg.example: Update for System 7 2022-09-22 01:47:30 -05:00