summaryrefslogtreecommitdiff
path: root/notes
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-19 13:00:09 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-19 13:00:09 +0000
commit4d670146b4054e11e90227f96a3a1c66410e8d0b (patch)
tree8dca31cf9ee497ee59e833f48dd76c81aaef3cf5 /notes
parent5d0bbb19cc133753cebda7099e46d4b2084336c6 (diff)
downloadMWCC-4d670146b4054e11e90227f96a3a1c66410e8d0b.tar.gz
MWCC-4d670146b4054e11e90227f96a3a1c66410e8d0b.zip
more cross-platform work
Diffstat (limited to 'notes')
-rw-r--r--notes17
1 files changed, 6 insertions, 11 deletions
diff --git a/notes b/notes
index 73f541b..f33568c 100644
--- a/notes
+++ b/notes
@@ -1,18 +1,13 @@
OS X:
-~/bin/mwccppc -c -g -opt l=4,noschedule,speed -enum min -Iincludes -Isdk_hdrs -w all,nounused -wchar_t on -bool off -Cpp_exceptions off
+~/bin/mwccppc -c -g -DCW_TARGET_MACH -DCW_CLT -opt l=4,noschedule,speed -enum min -Iincludes -Isdk_hdrs -w all,nounused -wchar_t on -bool off -Cpp_exceptions off
-OS 9:
+OS 9 wine setup (does not match):
export MWCIncludes="/Users/ash/src/mwcc/native_copy/msl_c_pro7/MSL_Common/Include;/Users/ash/src/mwcc/native_copy/msl_c_pro7/MSL_MacOS/Include"
-wine ../reversing/v7_0_mwcppc.exe -g -opt l=4,speed -enum min -Iincludes -Isdk_hdrs -w all,nounused,notinlined -wchar_t on -bool off -Cpp_exceptions off -maxwarnings 10
+wine ../reversing/v7_0_mwcppc.exe -g -DCW_TARGET_MACH -opt l=4,speed -enum min -Iincludes -Isdk_hdrs -w all,nounused,notinlined -wchar_t on -bool off -Cpp_exceptions off -maxwarnings 10
-TODO:
-- locate COS stuff based off EPPC 8 debug info
- - command_line/C++_Parser/Src/Library/OptimizerHelpers.c
- - compiler_and_linker/CmdLine_Tools/Embedded_PPC/Tools_EPPC/Src/Options/Glue/TargetOptimizerHelpers-eppc.c
- - compiler_and_linker/FrontEnd/Common/COSToolsMemory.h
- - compiler_and_linker/FrontEnd/Common/COSToolsFileSpecs.h
- - compiler_and_linker/FrontEnd/Common/COSToolsWin32.c
-also worth checking ~/s/mwcc/reversing/ftp_backup/Metrowerks/CWPPC6/ext_65/Disk1/PPC_EABI_Tools-CLT/mwcceppc.exe strings
+OS 9 mpw-emu setup:
+export MWCIncludes=":msl_c_pro7:MSL_Common:Include,:msl_c_pro7:MSL_MacOS:Include"
+mpw-emu mwcppc_v7 -g -DCW_TARGET_MACH -opt l=4,speed,nopeephole,noschedule -enum min -convertpaths -Iincludes -Isdk_hdrs -w all,nounused,notinlined -wchar_t on -bool off -Cpp_exceptions off -maxwarnings 10
* - has issues