From d1f153d34b023d81768f6087f67dbfff714bafc9 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 19 Oct 2022 21:16:13 +0100 Subject: let's commit all this before my VM blows up and nukes my work --- .../BackEnd/PowerPC/Disassembler/InstPPC.c | 0 .../BackEnd/PowerPC/MachLinker/dumpmacho.c | 0 .../BackEnd/PowerPC/MachLinker/ld/4byte_literals.c | 0 .../BackEnd/PowerPC/MachLinker/ld/8byte_literals.c | 0 .../PowerPC/MachLinker/ld/coalesced_sections.c | 0 .../PowerPC/MachLinker/ld/cstring_literals.c | 0 .../BackEnd/PowerPC/MachLinker/ld/dylibs.c | 0 .../BackEnd/PowerPC/MachLinker/ld/fvmlibs.c | 0 .../BackEnd/PowerPC/MachLinker/ld/generic_reloc.c | 0 .../BackEnd/PowerPC/MachLinker/ld/hppa_reloc.c | 0 .../BackEnd/PowerPC/MachLinker/ld/i860_reloc.c | 0 .../PowerPC/MachLinker/ld/indirect_sections.c | 0 .../BackEnd/PowerPC/MachLinker/ld/layout.c | 0 .../BackEnd/PowerPC/MachLinker/ld/ld.c | 0 .../PowerPC/MachLinker/ld/literal_pointers.c | 0 .../BackEnd/PowerPC/MachLinker/ld/m68k_reloc.c | 0 .../BackEnd/PowerPC/MachLinker/ld/mod_sections.c | 0 .../BackEnd/PowerPC/MachLinker/ld/objects.c | 0 .../BackEnd/PowerPC/MachLinker/ld/pass1.c | 0 .../BackEnd/PowerPC/MachLinker/ld/pass2.c | 0 .../BackEnd/PowerPC/MachLinker/ld/ppc_reloc.c | 0 .../BackEnd/PowerPC/MachLinker/ld/sections.c | 0 .../BackEnd/PowerPC/MachLinker/ld/sparc_reloc.c | 0 .../BackEnd/PowerPC/MachLinker/ld/specs.c | 0 .../BackEnd/PowerPC/MachLinker/ld/symbols.c | 0 .../BackEnd/PowerPC/MachLinker/libstuff/arch.c | 0 .../PowerPC/MachLinker/libstuff/best_arch.c | 0 .../BackEnd/PowerPC/MachLinker/libstuff/bytesex.c | 0 .../MachLinker/libstuff/get_arch_from_host.c | 0 .../PowerPC/MachLinker/libstuff/get_toc_byte_sex.c | 0 .../PowerPC/MachLinker/libstuff/guess_short_name.c | 0 .../BackEnd/PowerPC/MachLinker/libstuff/hppa.c | 0 .../BackEnd/PowerPC/MachLinker/libstuff/ofile.c | 0 .../BackEnd/PowerPC/MachLinker/libstuff/reloc.c | 0 .../PowerPC/MachLinker/libstuff/seg_addr_table.c | 0 .../MachLinker/libstuff/set_arch_flag_name.c | 0 .../PowerPC/MachLinker/libstuff/swap_headers.c | 0 .../PowerPC/MachLinker/libstuff/version_number.c | 0 .../BackEnd/PowerPC/MachLinker/misc/libtool.c | 0 .../BackEnd/PowerPC/MachLinker/mwerks_allocate.c | 0 .../BackEnd/PowerPC/MachLinker/mwerks_execute.c | 0 .../Tools_PPC/Lib/mac-ppc-cc/OptsBackEnd.opt | 786 +++++++++++++ .../Tools_PPC/Lib/mac-ppc-cc/OptsCmdLine.opt | 809 +++++++++++++ .../Lib/mac-ppc-cc/OptsCmdLineCompiler.opt | 1028 +++++++++++++++++ .../Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineLinker.opt | 199 ++++ .../Tools_PPC/Lib/mac-ppc-cc/OptsDebugging.opt | 80 ++ .../Tools_PPC/Lib/mac-ppc-cc/OptsDumper.opt | 368 ++++++ .../Tools_PPC/Lib/mac-ppc-cc/OptsFrontEndC.opt | 1208 ++++++++++++++++++++ .../Tools_PPC/Lib/mac-ppc-cc/OptsLinker.opt | 321 ++++++ .../Tools_PPC/Lib/mac-ppc-cc/OptsOptimizer.opt | 765 +++++++++++++ .../Tools_PPC/Lib/mac-ppc-cc/OptsProject.opt | 320 ++++++ .../Tools_PPC/Lib/mac-ppc-cc/OptsWarningC.opt | 583 ++++++++++ .../Tools_PPC/Lib/mac-ppc-ld/OptsCmdLine.opt | 0 .../Tools_PPC/Lib/mac-ppc-ld/OptsCmdLineLinker.opt | 0 .../Tools_PPC/Lib/mac-ppc-ld/OptsDebugging.opt | 0 .../Tools_PPC/Lib/mac-ppc-ld/OptsDumper.opt | 0 .../Tools_PPC/Lib/mac-ppc-ld/OptsLinker.opt | 0 .../Tools_PPC/Lib/mac-ppc-ld/OptsProject.opt | 0 .../Tools_PPC/Lib/mac-ppc-ld/OptsWarning.opt | 0 .../Src/Options/Glue/ParserGlue-mach-ppc-cc.c | 137 +++ .../Src/Options/Glue/ParserGlue-mach-ppc-common.h | 147 +++ .../Src/Options/Glue/ParserGlue-mach-ppc-ld.c | 0 .../Src/Options/Glue/TargetWarningHelpers-ppc-cc.c | 84 ++ .../Src/Options/Glue/TargetWarningHelpers-ppc-ld.c | 0 .../MacOS_PPC/Tools_PPC/Src/Plugin/cc-mach-ppc.c | 582 ++++++++++ .../MacOS_PPC/Tools_PPC/Src/Plugin/ld-mach-ppc.c | 0 .../Tools_PPC/Src/Plugin/libimp-mach-ppc.c | 146 +++ .../Tools_PPC/Src/Static/cc-mach-ppc-mw.c | 31 + .../Tools_PPC/Src/Static/ld-mach-ppc-mw.c | 0 .../Resources/MachOLinkErrors.r | 1 + 70 files changed, 7595 insertions(+) create mode 100644 compiler_and_linker/BackEnd/PowerPC/Disassembler/InstPPC.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/dumpmacho.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/4byte_literals.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/8byte_literals.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/coalesced_sections.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/cstring_literals.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/dylibs.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/fvmlibs.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/generic_reloc.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/hppa_reloc.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/i860_reloc.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/indirect_sections.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/layout.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/ld.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/literal_pointers.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/m68k_reloc.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/mod_sections.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/objects.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/pass1.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/pass2.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/ppc_reloc.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/sections.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/sparc_reloc.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/specs.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/symbols.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/arch.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/best_arch.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/bytesex.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/get_arch_from_host.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/get_toc_byte_sex.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/guess_short_name.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/hppa.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/ofile.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/reloc.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/seg_addr_table.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/set_arch_flag_name.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/swap_headers.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/version_number.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/misc/libtool.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/mwerks_allocate.c create mode 100644 compiler_and_linker/BackEnd/PowerPC/MachLinker/mwerks_execute.c create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsBackEnd.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLine.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineCompiler.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineLinker.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDebugging.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDumper.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsFrontEndC.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsLinker.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsOptimizer.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsProject.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsWarningC.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsCmdLine.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsCmdLineLinker.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsDebugging.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsDumper.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsLinker.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsProject.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsWarning.opt create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-common.h create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-ld.c create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/TargetWarningHelpers-ppc-cc.c create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/TargetWarningHelpers-ppc-ld.c create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/cc-mach-ppc.c create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/ld-mach-ppc.c create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Static/cc-mach-ppc-mw.c create mode 100644 compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Static/ld-mach-ppc-mw.c create mode 100644 compiler_and_linker/Plugin_Tools/MacOS_PPC/Linker_MacOS_MachPPC/Resources/MachOLinkErrors.r (limited to 'compiler_and_linker') diff --git a/compiler_and_linker/BackEnd/PowerPC/Disassembler/InstPPC.c b/compiler_and_linker/BackEnd/PowerPC/Disassembler/InstPPC.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/dumpmacho.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/dumpmacho.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/4byte_literals.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/4byte_literals.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/8byte_literals.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/8byte_literals.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/coalesced_sections.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/coalesced_sections.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/cstring_literals.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/cstring_literals.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/dylibs.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/dylibs.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/fvmlibs.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/fvmlibs.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/generic_reloc.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/generic_reloc.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/hppa_reloc.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/hppa_reloc.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/i860_reloc.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/i860_reloc.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/indirect_sections.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/indirect_sections.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/layout.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/layout.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/ld.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/ld.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/literal_pointers.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/literal_pointers.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/m68k_reloc.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/m68k_reloc.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/mod_sections.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/mod_sections.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/objects.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/objects.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/pass1.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/pass1.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/pass2.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/pass2.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/ppc_reloc.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/ppc_reloc.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/sections.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/sections.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/sparc_reloc.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/sparc_reloc.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/specs.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/specs.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/symbols.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/ld/symbols.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/arch.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/arch.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/best_arch.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/best_arch.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/bytesex.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/bytesex.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/get_arch_from_host.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/get_arch_from_host.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/get_toc_byte_sex.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/get_toc_byte_sex.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/guess_short_name.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/guess_short_name.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/hppa.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/hppa.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/ofile.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/ofile.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/reloc.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/reloc.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/seg_addr_table.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/seg_addr_table.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/set_arch_flag_name.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/set_arch_flag_name.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/swap_headers.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/swap_headers.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/version_number.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/libstuff/version_number.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/misc/libtool.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/misc/libtool.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/mwerks_allocate.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/mwerks_allocate.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/BackEnd/PowerPC/MachLinker/mwerks_execute.c b/compiler_and_linker/BackEnd/PowerPC/MachLinker/mwerks_execute.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsBackEnd.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsBackEnd.opt new file mode 100644 index 0000000..1f06ca4 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsBackEnd.opt @@ -0,0 +1,786 @@ +/* forward declare */ extern OptionList alignPPC_conflicts; +/* forward declare */ extern OptionList tbtables_conflicts; + +/* BackEnd */ +SET_T optlstBackEnd882 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x2, + /* num = */ (char *) &pBackEnd.structalignment +}; +Option alignPPC_883 = { + /* names = */ "power|powerpc", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd882, + /* sub = */ 0, + /* conflicts = */ &alignPPC_conflicts, + /* help = */ "PowerPC alignment" +}; +SET_T optlstBackEnd879 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.structalignment +}; +Option alignPPC_880 = { + /* names = */ "mac68k", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd879, + /* sub = */ 0, + /* conflicts = */ &alignPPC_conflicts, + /* help = */ "Macintosh 680x0 alignment" +}; +SET_T optlstBackEnd876 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.structalignment +}; +Option alignPPC_877 = { + /* names = */ "mac68k4byte", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd876, + /* sub = */ 0, + /* conflicts = */ &alignPPC_conflicts, + /* help = */ "Mac 680x0 4-byte alignment" +}; +GENERIC_T optlstBackEnd873 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_AddStringToDefines, + /* arg = */ (void *) "#pragma align_array_members on\n", + /* help = */ 0 +}; +Option optlstBackEnd_874 = { + /* names = */ "array|arraymembers", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd873, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "align members of arrays" +}; +Option *optlstBackEnd_884_list[] = { + &alignPPC_883, + &alignPPC_880, + &alignPPC_877, + &optlstBackEnd_874, + 0 +}; +OptionList optlstBackEnd_884 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstBackEnd_884_list +}; +Option optlstBackEnd_885 = { + /* names = */ "align", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstBackEnd_884, + /* conflicts = */ 0, + /* help = */ "specify structure/array alignment options" +}; +ONOFF_T optlstBackEnd887 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pBackEnd.common +}; +Option optlstBackEnd_888 = { + /* names = */ "common", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd887, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "common variables" +}; +SET_T optlstBackEnd891 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.dynamic +}; +Option optlstBackEnd_892 = { + /* names = */ "dynamic", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd891, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "dynamic addressing mode" +}; +ONOFF_T optlstBackEnd894 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pBackEnd.fpcontract +}; +Option optlstBackEnd_895 = { + /* names = */ "fp_contract", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd894, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "generate fused multiply-add instructions" +}; +ONOFF_T optlstBackEnd897 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pBackEnd.implicit_templates +}; +Option optlstBackEnd_898 = { + /* names = */ "imp_templates", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd897, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "implicit templates" +}; +ONOFF_T optlstBackEnd900 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pBackEnd.pic +}; +Option optlstBackEnd_901 = { + /* names = */ "pic", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd900, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "generate position independent code" +}; +/* forward declare */ extern OptionList optlstBackEnd_932_conflicts; +SET_T optlstBackEnd930 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_931 = { + /* names = */ "generic||ppc|power|powerc", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd930, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "generic PowerPC" +}; +SET_T optlstBackEnd927 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_928 = { + /* names = */ "601", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd927, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "PPC 601" +}; +SET_T optlstBackEnd924 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x2, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_925 = { + /* names = */ "603", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd924, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "PPC 603" +}; +SET_T optlstBackEnd921 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x3, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_922 = { + /* names = */ "603e", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd921, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "PPC 603e" +}; +SET_T optlstBackEnd918 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x4, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_919 = { + /* names = */ "604", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd918, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "PPC 604" +}; +SET_T optlstBackEnd915 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x5, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_916 = { + /* names = */ "604e", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd915, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "PPC 604e" +}; +SET_T optlstBackEnd912 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x6, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_913 = { + /* names = */ "750", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd912, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "PPC 750" +}; +SET_T optlstBackEnd909 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x7, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_910 = { + /* names = */ "7400", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd909, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "PPC 7400 (AltiVec)" +}; +SET_T optlstBackEnd906 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x8, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_907 = { + /* names = */ "7450", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd906, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "PPC 7450 (AltiVec)" +}; +SET_T optlstBackEnd903 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x7, + /* num = */ (char *) &pBackEnd.processor +}; +Option optlstBackEnd_932_904 = { + /* names = */ "altivec", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd903, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_932_conflicts, + /* help = */ "Altivec" +}; +Option *optlstBackEnd_932_list[] = { + &optlstBackEnd_932_931, + &optlstBackEnd_932_928, + &optlstBackEnd_932_925, + &optlstBackEnd_932_922, + &optlstBackEnd_932_919, + &optlstBackEnd_932_916, + &optlstBackEnd_932_913, + &optlstBackEnd_932_910, + &optlstBackEnd_932_907, + &optlstBackEnd_932_904, + 0 +}; +OptionList optlstBackEnd_932 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstBackEnd_932_list +}; +OptionList optlstBackEnd_932_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstBackEnd_932_list +}; +Option optlstBackEnd_933 = { + /* names = */ "proc|processor||scheduling|target", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstBackEnd_932, + /* conflicts = */ 0, + /* help = */ "specify target processor; currently used only for scheduling" +}; +ONOFF_T optlstBackEnd935 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pBackEnd.profiler +}; +Option optlstBackEnd_936 = { + /* names = */ "profile", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd935, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "enable calls to profiler" +}; +SET_T optlstBackEnd939 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.readonlystrings +}; +Option optlstBackEnd_940 = { + /* names = */ "rostr|readonlystrings", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd939, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "make string constants read-only" +}; +/* forward declare */ extern OptionList optlstBackEnd_950_conflicts; +SET_T optlstBackEnd948 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.tracebacktables +}; +Option optlstBackEnd_950_949 = { + /* names = */ "none", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd948, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_950_conflicts, + /* help = */ "don't generate traceback tables" +}; +SET_T optlstBackEnd945 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.tracebacktables +}; +Option optlstBackEnd_950_946 = { + /* names = */ "inline", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd945, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_950_conflicts, + /* help = */ "generate inline traceback tables" +}; +SET_T optlstBackEnd942 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x2, + /* num = */ (char *) &pBackEnd.tracebacktables +}; +Option optlstBackEnd_950_943 = { + /* names = */ "outofline", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstBackEnd942, + /* sub = */ 0, + /* conflicts = */ &optlstBackEnd_950_conflicts, + /* help = */ "generate out-of-line traceback tables" +}; +Option *optlstBackEnd_950_list[] = { + &optlstBackEnd_950_949, + &optlstBackEnd_950_946, + &optlstBackEnd_950_943, + 0 +}; +OptionList optlstBackEnd_950 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstBackEnd_950_list +}; +OptionList optlstBackEnd_950_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstBackEnd_950_list +}; +Option tbtables_951 = { + /* names = */ "tbtable", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS | OTF_HAS_CONFLICTS, + /* param = */ 0, + /* sub = */ &optlstBackEnd_950, + /* conflicts = */ &tbtables_conflicts, + /* help = */ "specify traceback tables generation" +}; +Option optlstBackEnd_964 = { + /* names = */ "on", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ 0, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn on support for vector types / codegen" +}; +SET_T optlstBackEnd962 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.altivec +}; +Option optlstBackEnd_963 = { + /* names = */ "off", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd962, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn off vectorization" +}; +SET_T optlstBackEnd958 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.vrsave +}; +Option optlstBackEnd_959 = { + /* names = */ "vrsave", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd958, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "use VRSAVE prologue/epilogue code" +}; +SET_T optlstBackEnd954 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.autovectorize +}; +Option optlstBackEnd_955 = { + /* names = */ "auto", + /* avail = */ OTF_SECRET | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd954, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "auto-vectorize" +}; +Option *optlstBackEnd_965_list[] = { + &optlstBackEnd_964, + &optlstBackEnd_963, + &optlstBackEnd_959, + &optlstBackEnd_955, + 0 +}; +OptionList optlstBackEnd_965 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstBackEnd_965_list +}; +SET_T optlstBackEnd968 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.altivec +}; +Option optlstBackEnd_969 = { + /* names = */ "vector", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ (PARAM_T *) &optlstBackEnd968, + /* sub = */ &optlstBackEnd_965, + /* conflicts = */ 0, + /* help = */ "specify Altivec options" +}; +SET_T optlstBackEnd972 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.dynamic +}; +Option optlstBackEnd_973 = { + /* names = */ "static", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd972, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "static addressing mode" +}; +SET_T optlstBackEnd976 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.altivec +}; +Option optlstBackEnd_977 = { + /* names = */ "faltivec", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd976, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn on support for vector types / codegen" +}; +SET_T optlstBackEnd980 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.altivec +}; +Option optlstBackEnd_981 = { + /* names = */ "fno-altivec", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd980, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn off support for vector types / codegen" +}; +SET_T optlstBackEnd984 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.common +}; +Option optlstBackEnd_985 = { + /* names = */ "fcommon", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd984, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "allow common variable definitions" +}; +SET_T optlstBackEnd988 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.common +}; +Option optlstBackEnd_989 = { + /* names = */ "fno-common", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd988, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "dont allow common variable definitions" +}; +SET_T optlstBackEnd992 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.pic +}; +Option optlstBackEnd_993 = { + /* names = */ "fpic", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd992, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "generate position independent code" +}; +SET_T optlstBackEnd996 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.pic +}; +Option optlstBackEnd_997 = { + /* names = */ "fno-pic", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd996, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "dont generate position independent code" +}; +SET_T optlstBackEnd1000 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.readonlystrings +}; +Option optlstBackEnd_1001 = { + /* names = */ "fwritable-strings", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd1000, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "string constants are writable" +}; +SET_T optlstBackEnd1004 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.implicit_templates +}; +Option optlstBackEnd_1005 = { + /* names = */ "fimplicit-templates", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd1004, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "implicit templates" +}; +SET_T optlstBackEnd1008 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pBackEnd.implicit_templates +}; +Option optlstBackEnd_1009 = { + /* names = */ "fno-implicit-templates", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstBackEnd1008, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "no implicit templates" +}; +Option *optlstBackEnd_1010_list[] = { + &optlstBackEnd_885, + &optlstBackEnd_888, + &optlstBackEnd_892, + &optlstBackEnd_895, + &optlstBackEnd_898, + &optlstBackEnd_901, + &optlstBackEnd_933, + &optlstBackEnd_936, + &optlstBackEnd_940, + &tbtables_951, + &optlstBackEnd_969, + &optlstBackEnd_973, + &optlstBackEnd_977, + &optlstBackEnd_981, + &optlstBackEnd_985, + &optlstBackEnd_989, + &optlstBackEnd_993, + &optlstBackEnd_997, + &optlstBackEnd_1001, + &optlstBackEnd_1005, + &optlstBackEnd_1009, + 0 +}; +OptionList optlstBackEnd = { + /* help = */ "Mach-O PowerPC CodeGen Options\n", + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstBackEnd_1010_list +}; +Option *alignPPC_000_list[] = { + &alignPPC_883, + &alignPPC_880, + &alignPPC_877, + 0 +}; +OptionList alignPPC_conflicts = { + /* help = */ 0, + /* flags = */ 0, + /* list = */ alignPPC_000_list +}; +Option *tbtables_001_list[] = { + &tbtables_951, + 0 +}; +OptionList tbtables_conflicts = { + /* help = */ 0, + /* flags = */ 0, + /* list = */ tbtables_001_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLine.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLine.opt new file mode 100644 index 0000000..dfdd158 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLine.opt @@ -0,0 +1,809 @@ +/* forward declare */ extern OptionList helpAllNormal_conflicts; +/* forward declare */ extern OptionList helpkey_conflicts; +/* forward declare */ extern OptionList helpTool_conflicts; + +/* CmdLine */ +MASK_T optlstCmdLine070 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x4000, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option optlstCmdLine_071 = { + /* names = */ "usage", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine070, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show usage information" +}; +MASK_T optlstCmdLine066 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x100, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option optlstCmdLine_067 = { + /* names = */ "spaces", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine066, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "insert blank lines between options in printout" +}; +MASK_T optlstCmdLine062 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x6A, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option helpAllNormal_063 = { + /* names = */ "all", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine062, + /* sub = */ 0, + /* conflicts = */ &helpAllNormal_conflicts, + /* help = */ "show all standard options" +}; +MASK_T optlstCmdLine058 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x80, + /* andmask = */ 0xE, + /* num = */ &parseopts.helpFlags +}; +Option helpAllNormal_059 = { + /* names = */ "normal", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine058, + /* sub = */ 0, + /* conflicts = */ &helpAllNormal_conflicts, + /* help = */ "show only standard options" +}; +MASK_T optlstCmdLine055 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x4, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option optlstCmdLine_056 = { + /* names = */ "obsolete", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine055, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show obsolete options" +}; +MASK_T optlstCmdLine051 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x2, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option optlstCmdLine_052 = { + /* names = */ "ignored", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine051, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show ignored options" +}; +MASK_T optlstCmdLine047 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x8, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option optlstCmdLine_048 = { + /* names = */ "deprecated", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine047, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show deprecated options" +}; +MASK_T optlstCmdLine043 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x20, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option optlstCmdLine_044 = { + /* names = */ "meaningless", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine043, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show options meaningless for this target" +}; +MASK_T optlstCmdLine039 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x40, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option optlstCmdLine_040 = { + /* names = */ "compatible", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine039, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show compatibility options" +}; +MASK_T optlstCmdLine035 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x10, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option optlstCmdLine_036 = { + /* names = */ "secret", + /* avail = */ OTF_GLOBAL | OTF_SECRET | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine035, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ 0 +}; +MASK_T optlstCmdLine029 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x1, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +STRING_T optlstCmdLine031 = { + /* which = */ PARAMWHICH_String, + /* flags = */ 0x00, + /* myname = */ "name", + /* next = */ (PARAM_T *) &optlstCmdLine029, + /* maxlen = */ 64, + /* pstring = */ 0, + /* str = */ parseopts.helpKey +}; +Option helpkey_032 = { + /* names = */ "opt|option", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine031, + /* sub = */ 0, + /* conflicts = */ &helpkey_conflicts, + /* help = */ "show help for a given option" +}; +STRING_T optlstCmdLine025 = { + /* which = */ PARAMWHICH_String, + /* flags = */ 0x00, + /* myname = */ "keyword", + /* next = */ 0, + /* maxlen = */ 64, + /* pstring = */ 0, + /* str = */ parseopts.helpKey +}; +Option helpkey_026 = { + /* names = */ "search", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine025, + /* sub = */ 0, + /* conflicts = */ &helpkey_conflicts, + /* help = */ "show help for an option whose name or help contains 'keyword' (case-sensitive)" +}; +MASK_T optlstCmdLine020 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x8000, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +STRING_T optlstCmdLine022 = { + /* which = */ PARAMWHICH_String, + /* flags = */ 0x00, + /* myname = */ "keyword", + /* next = */ (PARAM_T *) &optlstCmdLine020, + /* maxlen = */ 64, + /* pstring = */ 0, + /* str = */ parseopts.helpKey +}; +Option helpkey_023 = { + /* names = */ "group", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine022, + /* sub = */ 0, + /* conflicts = */ &helpkey_conflicts, + /* help = */ "show help for groups whose names contain 'keyword' (case-sensitive)" +}; +MASK_T optlstCmdLine011 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0xC00, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option helpTool_012 = { + /* names = */ "all", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine011, + /* sub = */ 0, + /* conflicts = */ &helpTool_conflicts, + /* help = */ "show all options available in this tool" +}; +MASK_T optlstCmdLine007 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x400, + /* andmask = */ 0x800, + /* num = */ &parseopts.helpFlags +}; +Option helpTool_008 = { + /* names = */ "this", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine007, + /* sub = */ 0, + /* conflicts = */ &helpTool_conflicts, + /* help = */ "show options executed by this tool" +}; +MASK_T optlstCmdLine004 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x800, + /* andmask = */ 0x400, + /* num = */ &parseopts.helpFlags +}; +Option helpTool_005 = { + /* names = */ "other|skipped", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine004, + /* sub = */ 0, + /* conflicts = */ &helpTool_conflicts, + /* help = */ "show options passed to another tool" +}; +MASK_T optlstCmdLine001 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0xC00, + /* andmask = */ 0x200, + /* num = */ &parseopts.helpFlags +}; +Option helpTool_002 = { + /* names = */ "both", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine001, + /* sub = */ 0, + /* conflicts = */ &helpTool_conflicts, + /* help = */ "show options used in all tools" +}; +Option *optlstCmdLine_013_list[] = { + &helpTool_012, + &helpTool_008, + &helpTool_005, + &helpTool_002, + 0 +}; +OptionList optlstCmdLine_013 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstCmdLine_013_list +}; +MASK_T optlstCmdLine016 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x200, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +Option optlstCmdLine_017 = { + /* names = */ "tool", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ (PARAM_T *) &optlstCmdLine016, + /* sub = */ &optlstCmdLine_013, + /* conflicts = */ 0, + /* help = */ "categorize groups of options by tool" +}; +Option *optlstCmdLine_072_list[] = { + &optlstCmdLine_071, + &optlstCmdLine_067, + &helpAllNormal_063, + &helpAllNormal_059, + &optlstCmdLine_056, + &optlstCmdLine_052, + &optlstCmdLine_048, + &optlstCmdLine_044, + &optlstCmdLine_040, + &optlstCmdLine_036, + &helpkey_032, + &helpkey_026, + &helpkey_023, + &optlstCmdLine_017, + 0 +}; +OptionList optlstCmdLine_072 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstCmdLine_072_list +}; +MASK_T optlstCmdLine075 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* ormask = */ 0x680, + /* andmask = */ 0x0, + /* num = */ &parseopts.helpFlags +}; +SET_T optlstCmdLine078 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLine075, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &parseopts.hadAnyOutput +}; +SET_T optlstCmdLine081 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLine078, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &parseopts.showHelp +}; +Option optlstCmdLine_082 = { + /* names = */ "help||-help", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_ONLY_ONCE | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS | OTF_SUB_OPTIONS_OPTIONAL, + /* param = */ (PARAM_T *) &optlstCmdLine081, + /* sub = */ &optlstCmdLine_072, + /* conflicts = */ 0, + /* help = */ "display help" +}; +SET_T optlstCmdLine085 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &parseopts.hadAnyOutput +}; +GENERIC_T optlstCmdLine087 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLine085, + /* parse = */ &Opt_PrintVersion, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLine_088 = { + /* names = */ "version", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine087, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show version, configuration, and build date" +}; +SET_T optlstCmdLine091 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLine.timeWorking +}; +Option optlstCmdLine_092 = { + /* names = */ "timing", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLine091, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "collect timing statistics" +}; +GENERIC_T optlstCmdLine094 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_PrintVersion, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +SET_T optlstCmdLine096 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLine094, + /* size = */ 2, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLine.verbose +}; +Option optlstCmdLine_progress = { + /* names = */ "progress", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLine096, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show progress and version" +}; +GENERIC_T optlstCmdLine099 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_PrintVersion, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +GENERIC_T optlstCmdLine101 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLine099, + /* parse = */ &Opt_IncreaseVerbosity, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLine_102 = { + /* names = */ "v|verbose", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLine101, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "verbose information; cumulative; implies ~~progress" +}; +SET_T optlstCmdLine105 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &parseopts.alwaysUsePaths +}; +Option optlstCmdLine_106 = { + /* names = */ "search", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLine105, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "search access paths for source files specified on the command line; may specify object code and libraries as well; this option provides the IDE's 'access paths' functionality" +}; +SET_T optlstCmdLine109 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLine.showLines +}; +Option optlstCmdLine_110 = { + /* names = */ "lines", + /* avail = */ OTF_GLOBAL | OTF_SECRET | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLine109, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show line count" +}; +SET_T optlstCmdLine113 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pCmdLine.noWrapOutput +}; +Option optlstCmdLine_114 = { + /* names = */ "wraplines", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLine113, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "word wrap messages" +}; +NUM_T optlstCmdLine116 = { + /* which = */ PARAMWHICH_Number, + /* flags = */ 0x00, + /* myname = */ "max", + /* next = */ 0, + /* size = */ 2, + /* fit = */ 0, + /* lo = */ 0, + /* hi = */ 0, + /* num = */ &pCmdLine.maxErrors +}; +Option optlstCmdLine_117 = { + /* names = */ "maxerrors", + /* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLine116, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify maximum number of errors to print, zero means no maximum" +}; +NUM_T optlstCmdLine119 = { + /* which = */ PARAMWHICH_Number, + /* flags = */ 0x00, + /* myname = */ "max", + /* next = */ 0, + /* size = */ 2, + /* fit = */ 0, + /* lo = */ 0, + /* hi = */ 0, + /* num = */ &pCmdLine.maxWarnings +}; +Option optlstCmdLine_120 = { + /* names = */ "maxwarnings", + /* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLine119, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify maximum number of warnings to print, zero means no maximum" +}; +/* forward declare */ extern OptionList optlstCmdLine_136_conflicts; +SET_T optlstCmdLine134 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.msgStyle +}; +Option optlstCmdLine_136_135 = { + /* names = */ "mpw", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine134, + /* sub = */ 0, + /* conflicts = */ &optlstCmdLine_136_conflicts, + /* help = */ "use MPW message style" +}; +SET_T optlstCmdLine131 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x0, + /* num = */ (char *) &pCmdLine.msgStyle +}; +Option optlstCmdLine_136_132 = { + /* names = */ "std", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine131, + /* sub = */ 0, + /* conflicts = */ &optlstCmdLine_136_conflicts, + /* help = */ "use standard message style" +}; +SET_T optlstCmdLine128 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLine.msgStyle +}; +Option optlstCmdLine_136_129 = { + /* names = */ "gcc", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine128, + /* sub = */ 0, + /* conflicts = */ &optlstCmdLine_136_conflicts, + /* help = */ "use GCC-like message style" +}; +SET_T optlstCmdLine125 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x3, + /* num = */ (char *) &pCmdLine.msgStyle +}; +Option optlstCmdLine_136_126 = { + /* names = */ "IDE", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine125, + /* sub = */ 0, + /* conflicts = */ &optlstCmdLine_136_conflicts, + /* help = */ "use CW IDE-like message style" +}; +SET_T optlstCmdLine122 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x4, + /* num = */ (char *) &pCmdLine.msgStyle +}; +Option optlstCmdLine_136_123 = { + /* names = */ "parseable", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLine122, + /* sub = */ 0, + /* conflicts = */ &optlstCmdLine_136_conflicts, + /* help = */ "use context-free machine-parseable message style" +}; +Option *optlstCmdLine_136_list[] = { + &optlstCmdLine_136_135, + &optlstCmdLine_136_132, + &optlstCmdLine_136_129, + &optlstCmdLine_136_126, + &optlstCmdLine_136_123, + 0 +}; +OptionList optlstCmdLine_136 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER | LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER, + /* list = */ optlstCmdLine_136_list +}; +OptionList optlstCmdLine_136_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER | LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER, + /* list = */ optlstCmdLine_136_list +}; +Option optlstCmdLine_137 = { + /* names = */ "msgstyle", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstCmdLine_136, + /* conflicts = */ 0, + /* help = */ "set error/warning message style" +}; +GENERIC_T optlstCmdLine139 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SavePrefs, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +SET_T optlstCmdLine142 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLine139, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pCmdLine.stderr2stdout +}; +Option optlstCmdLine_143 = { + /* names = */ "stderr", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLine142, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "use separate stderr and stdout streams; if using ~~nostderr, stderr goes to stdout" +}; +GENERIC_T optlstCmdLine145 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_FindAndAddFile, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLine_146 = { + /* names = */ "", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLine145, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ 0 +}; +Option *optlstCmdLine_147_list[] = { + &optlstCmdLine_082, + &optlstCmdLine_088, + &optlstCmdLine_092, + &optlstCmdLine_progress, + &optlstCmdLine_102, + &optlstCmdLine_106, + &optlstCmdLine_110, + &optlstCmdLine_114, + &optlstCmdLine_117, + &optlstCmdLine_120, + &optlstCmdLine_137, + &optlstCmdLine_143, + &optlstCmdLine_146, + 0 +}; +OptionList optlstCmdLine = { + /* help = */ "General Command-Line Options\n\tAll the options are passed to the linker unless otherwise noted.\b\tPlease see '~~help usage' for details about the meaning of this help.\b", + /* flags = */ LISTFLAGS_COMPILER | LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER, + /* list = */ optlstCmdLine_147_list +}; +Option *helpAllNormal_000_list[] = { + &helpAllNormal_063, + &helpAllNormal_059, + 0 +}; +OptionList helpAllNormal_conflicts = { + /* help = */ 0, + /* flags = */ 0, + /* list = */ helpAllNormal_000_list +}; +Option *helpkey_001_list[] = { + &helpkey_032, + &helpkey_026, + &helpkey_023, + 0 +}; +OptionList helpkey_conflicts = { + /* help = */ 0, + /* flags = */ 0, + /* list = */ helpkey_001_list +}; +Option *helpTool_002_list[] = { + &helpTool_012, + &helpTool_008, + &helpTool_005, + &helpTool_002, + 0 +}; +OptionList helpTool_conflicts = { + /* help = */ 0, + /* flags = */ 0, + /* list = */ helpTool_002_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineCompiler.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineCompiler.opt new file mode 100644 index 0000000..8f5b7c0 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineCompiler.opt @@ -0,0 +1,1028 @@ +/* forward declare */ extern OptionList precompile_conflicts; + +/* CmdLineCompiler */ +SET_T optlstCmdLineCompiler150 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.browserEnabled +}; +Option optlstCmdLineCompiler_151 = { + /* names = */ "browse", + /* avail = */ OTF_GLOBAL | OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler150, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "record browse information to file named .b" +}; +SET_T optlstCmdLineCompiler153 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_154 = { + /* names = */ "c", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler153, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "compile only, do not link" +}; +GENERIC_T optlstCmdLineCompiler156 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Cg", + /* help = */ 0 +}; +Option optlstCmdLineCompiler_157 = { + /* names = */ "codegen", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler156, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "generate object code" +}; +SET_T optlstCmdLineCompiler160 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pCmdLineCompiler.canonicalIncludes +}; +Option optlstCmdLineCompiler_161 = { + /* names = */ "convertpaths", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler160, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "interpret #include filepaths specified for a foreign operating system; i.e., or ; when enabled, '/' and '\\' will separate directories and cannot be used in filenames" +}; +/* forward declare */ extern OptionList optlstCmdLineCompiler_174_conflicts; +SET_T optlstCmdLineCompiler172 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x0, + /* num = */ (char *) &pCmdLineCompiler.includeSearch +}; +Option optlstCmdLineCompiler_174_173 = { + /* names = */ "proj", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler172, + /* sub = */ 0, + /* conflicts = */ &optlstCmdLineCompiler_174_conflicts, + /* help = */ "begin search in current working directory" +}; +SET_T optlstCmdLineCompiler169 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.includeSearch +}; +Option optlstCmdLineCompiler_174_170 = { + /* names = */ "source", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler169, + /* sub = */ 0, + /* conflicts = */ &optlstCmdLineCompiler_174_conflicts, + /* help = */ "begin search in directory of source file" +}; +SET_T optlstCmdLineCompiler166 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLineCompiler.includeSearch +}; +Option optlstCmdLineCompiler_174_167 = { + /* names = */ "explicit", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler166, + /* sub = */ 0, + /* conflicts = */ &optlstCmdLineCompiler_174_conflicts, + /* help = */ "no implicit directory; only search '~~I' or '~~ir' paths" +}; +SET_T optlstCmdLineCompiler163 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x3, + /* num = */ (char *) &pCmdLineCompiler.includeSearch +}; +Option optlstCmdLineCompiler_174_164 = { + /* names = */ "include", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler163, + /* sub = */ 0, + /* conflicts = */ &optlstCmdLineCompiler_174_conflicts, + /* help = */ "begin search in directory of referencing file" +}; +Option *optlstCmdLineCompiler_174_list[] = { + &optlstCmdLineCompiler_174_173, + &optlstCmdLineCompiler_174_170, + &optlstCmdLineCompiler_174_167, + &optlstCmdLineCompiler_174_164, + 0 +}; +OptionList optlstCmdLineCompiler_174 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstCmdLineCompiler_174_list +}; +OptionList optlstCmdLineCompiler_174_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstCmdLineCompiler_174_list +}; +Option optlstCmdLineCompiler_175 = { + /* names = */ "cwd", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstCmdLineCompiler_174, + /* conflicts = */ 0, + /* help = */ "specify #include searching semantics: before searching any access paths, the path specified by this option will be searched" +}; +SETTING_T optlstCmdLineCompiler176 = { + /* which = */ PARAMWHICH_Setting, + /* flags = */ 0x06, + /* myname = */ "name", + /* next = */ 0, + /* parse = */ &Opt_DefineSymbol, + /* valuename = */ "value" +}; +Option optlstCmdLineCompiler_177 = { + /* names = */ "D|d|define", + /* avail = */ OTF_STICKY | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler176, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "define symbol 'name' to 'value' if specified, else '1'" +}; +SET_T optlstCmdLineCompiler180 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &useDefaultIncludes +}; +Option optlstCmdLineCompiler_181 = { + /* names = */ "defaults", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler180, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~[no]stdinc'" +}; +GENERIC_T optlstCmdLineCompiler183 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Ds", + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler185 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler183, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_186 = { + /* names = */ "dis|disassemble", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler185, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "disassemble files to stdout" +}; +GENERIC_T optlstCmdLineCompiler188 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Pp", + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler190 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler188, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_191 = { + /* names = */ "E", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler190, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "preprocess source files" +}; +GENERIC_T optlstCmdLineCompiler193 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_AddStringToDefines, + /* arg = */ (void *) "#pragma simple_prepdump on\n", + /* help = */ 0 +}; +GENERIC_T optlstCmdLineCompiler195 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler193, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Pp", + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler197 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler195, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_198 = { + /* names = */ "EP", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler197, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "preprocess and strip out #line directives" +}; +STRING_T optlstCmdLineCompiler200 = { + /* which = */ PARAMWHICH_String, + /* flags = */ 0x00, + /* myname = */ "extension", + /* next = */ 0, + /* maxlen = */ 15, + /* pstring = */ 0, + /* str = */ pCmdLineCompiler.objFileExt +}; +Option optlstCmdLineCompiler_201 = { + /* names = */ "ext", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler200, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify extension for generated object files; with a leading period ('.'), appends extension; without, replaces source file's extension" +}; +GENERIC_T optlstCmdLineCompiler203 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "path", + /* next = */ 0, + /* parse = */ &Opt_AddFrameworkPath, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineCompiler_204 = { + /* names = */ "F", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler203, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "append access path to current framework access paths list" +}; +GENERIC_T optlstCmdLineCompiler206 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "path", + /* next = */ 0, + /* parse = */ &Opt_AddFramework, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineCompiler_207 = { + /* names = */ "framework", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler206, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "append framework to the frameworks list" +}; +SET_T optlstCmdLineCompiler210 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.compileIgnored +}; +Option optlstCmdLineCompiler_211 = { + /* names = */ "force_compile", + /* avail = */ OTF_GLOBAL | OTF_SECRET | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler210, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "force compilation of unrecognized files" +}; +SET_T optlstCmdLineCompiler213 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x3, + /* num = */ (char *) &pCmdLineCompiler.includeSearch +}; +SET_T optlstCmdLineCompiler216 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler213, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &dashIMinusMovesPaths +}; +SET_T optlstCmdLineCompiler219 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler216, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &namingSysPaths +}; +Option optlstCmdLineCompiler_220 = { + /* names = */ "gccinc|gccincludes", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler219, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "adopt GCC #include semantics: add '~~I' paths to system list if '~~I-' is not specified, and search directory of referencing file first for #includes (same as '~~cwd include')" +}; +SET_T optlstCmdLineCompiler222 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLineCompiler.includeSearch +}; +SET_T optlstCmdLineCompiler225 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler222, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &usedDashIMinus +}; +SET_T optlstCmdLineCompiler228 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler225, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &namingSysPaths +}; +GENERIC_T optlstCmdLineCompiler230 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler228, + /* parse = */ &Opt_MaybeMoveAccessPaths, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineCompiler_231 = { + /* names = */ "i-|I-", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler230, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "change target for '~~I' access paths to the system list; implies '~~cwd explicit'; while compiling, user paths then system paths are searched when using '#include \"...\"; only system paths are searched with '#include <...>'" +}; +GENERIC_T optlstCmdLineCompiler233 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "path", + /* next = */ 0, + /* parse = */ &Opt_AddAccessPath, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineCompiler_234 = { + /* names = */ "I|i", + /* avail = */ OTF_GLOBAL | OTF_STICKY | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler233, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "append access path to current #include list(see '~~gccincludes' and '~~I-')" +}; +GENERIC_T optlstCmdLineCompiler236 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "file", + /* next = */ 0, + /* parse = */ &Opt_AddPrefixFile, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineCompiler_237 = { + /* names = */ "include", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler236, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "prefix text file or precompiled header onto all source files" +}; +GENERIC_T optlstCmdLineCompiler239 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "path", + /* next = */ 0, + /* parse = */ &Opt_AddAccessPath, + /* arg = */ (void *) "", + /* help = */ 0 +}; +Option optlstCmdLineCompiler_240 = { + /* names = */ "ir", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler239, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "append a recursive access path to current #include list" +}; +SET_T optlstCmdLineCompiler243 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.keepObjects +}; +Option optlstCmdLineCompiler_244 = { + /* names = */ "keepobj|keepobjects", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler243, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "keep object files generated after invoking linker; if disabled, intermediate object files are temporary and deleted after link stage; objects are always kept when compiling" +}; +STRING_T optlstCmdLineCompiler246 = { + /* which = */ PARAMWHICH_String, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* maxlen = */ 64, + /* pstring = */ 0, + /* str = */ pCmdLineCompiler.linkerName +}; +Option optlstCmdLineCompiler_247 = { + /* names = */ "linkername", + /* avail = */ OTF_GLOBAL | OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler246, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "give name of alternate linker" +}; +GENERIC_T optlstCmdLineCompiler249 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Dp", + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler251 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler249, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_252 = { + /* names = */ "M", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler251, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "scan source files for dependencies and emit Makefile, do not generate object code" +}; +GENERIC_T optlstCmdLineCompiler254 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Dp", + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler257 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler254, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.depsOnlyUserFiles +}; +SET_T optlstCmdLineCompiler259 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler257, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_260 = { + /* names = */ "MM", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler259, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "like ~~M, but do not list system include files" +}; +GENERIC_T optlstCmdLineCompiler262 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "DpCg", + /* help = */ 0 +}; +MASK_T optlstCmdLineCompiler265 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler262, + /* size = */ 2, + /* ormask = */ 0xA, + /* andmask = */ 0x0, + /* num = */ &pCmdLine.toDisk +}; +SET_T optlstCmdLineCompiler267 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler265, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_268 = { + /* names = */ "MD", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler267, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "like ~~M, but write dependency map to a file and generate object code" +}; +GENERIC_T optlstCmdLineCompiler270 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "DpCg", + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler273 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler270, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.depsOnlyUserFiles +}; +MASK_T optlstCmdLineCompiler276 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler273, + /* size = */ 2, + /* ormask = */ 0xA, + /* andmask = */ 0x0, + /* num = */ &pCmdLine.toDisk +}; +SET_T optlstCmdLineCompiler278 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler276, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_279 = { + /* names = */ "MMD", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler278, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "like ~~MD, but do not list system include files" +}; +GENERIC_T optlstCmdLineCompiler281 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Dp", + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler283 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler281, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_284 = { + /* names = */ "make", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler283, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "scan source files for dependencies and emit Makefile, do not generate object code" +}; +SET_T optlstCmdLineCompiler287 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.noFail +}; +Option optlstCmdLineCompiler_288 = { + /* names = */ "nofail", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler287, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "continue working after errors in earlier files" +}; +SET_T optlstCmdLineCompiler290 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_291 = { + /* names = */ "nolink", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler290, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "compile only, do not link" +}; +GENERIC_T optlstCmdLineCompiler293 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SavePrefs, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler295 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler293, + /* size = */ 1, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLineCompiler.forcePrecompile +}; +Option precompile_296 = { + /* names = */ "noprecompile", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler295, + /* sub = */ 0, + /* conflicts = */ &precompile_conflicts, + /* help = */ "do not precompile any files based on the filename extension" +}; +SET_T optlstCmdLineCompiler299 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.noSysPath +}; +Option optlstCmdLineCompiler_300 = { + /* names = */ "nosyspath", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler299, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "treat #include <...> like #include \"...\"; always search both user and system path lists" +}; +GENERIC_T optlstCmdLineCompiler302 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "file|dir", + /* next = */ 0, + /* parse = */ &Opt_HandleOutputName, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineCompiler_303 = { + /* names = */ "o", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler302, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify output filename or directory for object file(s) or text output, or output filename for linker if called" +}; +GENERIC_T optlstCmdLineCompiler305 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Pp", + /* help = */ 0 +}; +MASK_T optlstCmdLineCompiler308 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler305, + /* size = */ 2, + /* ormask = */ 0x1, + /* andmask = */ 0x0, + /* num = */ &pCmdLine.toDisk +}; +SET_T optlstCmdLineCompiler310 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler308, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_311 = { + /* names = */ "P", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler310, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "preprocess and send output to file; do not generate code" +}; +GENERIC_T optlstCmdLineCompiler313 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SavePrefs, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler315 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler313, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.forcePrecompile +}; +GENERIC_T optlstCmdLineCompiler317 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "file|dir", + /* next = */ (PARAM_T *) &optlstCmdLineCompiler315, + /* parse = */ &Opt_HandleOutputName, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler319 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler317, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option precompile_320 = { + /* names = */ "precompile", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler319, + /* sub = */ 0, + /* conflicts = */ &precompile_conflicts, + /* help = */ "generate precompiled header from source; write header to 'file' if specified, or put header in 'dir'; if argument is \"\", write header to source-specified location; if neither is defined, header filename is derived from source filename; note: the driver can tell whether to precompile a file based on its extension; '~~precompile file source' then is the same as '~~c ~~o file source'" +}; +GENERIC_T optlstCmdLineCompiler322 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Pp", + /* help = */ 0 +}; +SET_T optlstCmdLineCompiler324 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler322, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_325 = { + /* names = */ "preprocess", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler324, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "preprocess source files" +}; +GENERIC_T optlstCmdLineCompiler327 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "file", + /* next = */ 0, + /* parse = */ &Opt_AddPrefixFile, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineCompiler_328 = { + /* names = */ "prefix", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler327, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "prefix text file or precompiled header onto all source files" +}; +GENERIC_T optlstCmdLineCompiler330 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Ds", + /* help = */ 0 +}; +MASK_T optlstCmdLineCompiler333 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler330, + /* size = */ 2, + /* ormask = */ 0x4, + /* andmask = */ 0x0, + /* num = */ &pCmdLine.toDisk +}; +SET_T optlstCmdLineCompiler335 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineCompiler333, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineCompiler_336 = { + /* names = */ "S", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler335, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "disassemble and send output to file" +}; +SET_T optlstCmdLineCompiler339 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &useDefaultIncludes +}; +Option optlstCmdLineCompiler_340 = { + /* names = */ "stdinc", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler339, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "use standard system include paths (specified by the environment variable {MWCIncludes}); added after all system '~~I' paths" +}; +GENERIC_T optlstCmdLineCompiler342 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "name", + /* next = */ 0, + /* parse = */ &Opt_UndefineSymbol, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineCompiler_343 = { + /* names = */ "U|u|undefine", + /* avail = */ OTF_STICKY | OTF_CASED | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstCmdLineCompiler342, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "undefine symbol 'name'" +}; +Option *optlstCmdLineCompiler_344_list[] = { + &optlstCmdLineCompiler_151, + &optlstCmdLineCompiler_154, + &optlstCmdLineCompiler_157, + &optlstCmdLineCompiler_161, + &optlstCmdLineCompiler_175, + &optlstCmdLineCompiler_177, + &optlstCmdLineCompiler_181, + &optlstCmdLineCompiler_186, + &optlstCmdLineCompiler_191, + &optlstCmdLineCompiler_198, + &optlstCmdLineCompiler_201, + &optlstCmdLineCompiler_204, + &optlstCmdLineCompiler_207, + &optlstCmdLineCompiler_211, + &optlstCmdLineCompiler_220, + &optlstCmdLineCompiler_231, + &optlstCmdLineCompiler_234, + &optlstCmdLineCompiler_237, + &optlstCmdLineCompiler_240, + &optlstCmdLineCompiler_244, + &optlstCmdLineCompiler_247, + &optlstCmdLineCompiler_252, + &optlstCmdLineCompiler_260, + &optlstCmdLineCompiler_268, + &optlstCmdLineCompiler_279, + &optlstCmdLineCompiler_284, + &optlstCmdLineCompiler_288, + &optlstCmdLineCompiler_291, + &precompile_296, + &optlstCmdLineCompiler_300, + &optlstCmdLineCompiler_303, + &optlstCmdLineCompiler_311, + &precompile_320, + &optlstCmdLineCompiler_325, + &optlstCmdLineCompiler_328, + &optlstCmdLineCompiler_336, + &optlstCmdLineCompiler_340, + &optlstCmdLineCompiler_343, + 0 +}; +OptionList optlstCmdLineCompiler = { + /* help = */ "Preprocessing, Precompiling, and Input File Control Options\n", + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstCmdLineCompiler_344_list +}; +Option *precompile_000_list[] = { + &precompile_296, + &precompile_320, + 0 +}; +OptionList precompile_conflicts = { + /* help = */ 0, + /* flags = */ 0, + /* list = */ precompile_000_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineLinker.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineLinker.opt new file mode 100644 index 0000000..6f26341 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineLinker.opt @@ -0,0 +1,199 @@ +/* CmdLineLinker */ +GENERIC_T optlstCmdLineLinker346 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Ds", + /* help = */ 0 +}; +SET_T optlstCmdLineLinker349 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineLinker346, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ 0 +}; +SET_T optlstCmdLineLinker351 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineLinker349, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineLinker_352 = { + /* names = */ "dis|disassemble", + /* avail = */ OTF_GLOBAL | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLineLinker351, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "disassemble object code and do not link; implies '~~nostdlib'" +}; +GENERIC_T optlstCmdLineLinker354 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "path", + /* next = */ 0, + /* parse = */ &Opt_DummyLinkerRoutine, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineLinker_355 = { + /* names = */ "L|l", + /* avail = */ OTF_GLOBAL | OTF_STICKY | OTF_CASED | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLineLinker354, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "add library search path; default is to search current working directory and then system directories (see '~~defaults'); search paths have global scope over the command line and are searched in the order given" +}; +GENERIC_T optlstCmdLineLinker357 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "path", + /* next = */ 0, + /* parse = */ &Opt_DummyLinkerRoutine, + /* arg = */ (void *) 1, + /* help = */ 0 +}; +Option optlstCmdLineLinker_358 = { + /* names = */ "lr", + /* avail = */ OTF_GLOBAL | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLineLinker357, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "like '~~l', but add recursive library search path" +}; +GENERIC_T optlstCmdLineLinker360 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "file", + /* next = */ 0, + /* parse = */ &Opt_DummyLinkerRoutine, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstCmdLineLinker_361 = { + /* names = */ "l", + /* avail = */ OTF_STICKY | OTF_CASED | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLineLinker360, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "add a library by searching access paths for file named lib. where is a typical library extension; added before system libraries (see '~~defaults')" +}; +SET_T optlstCmdLineLinker364 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ 0 +}; +Option optlstCmdLineLinker_365 = { + /* names = */ "defaults", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstCmdLineLinker364, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as ~~[no]stdlib" +}; +SET_T optlstCmdLineLinker368 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLineCompiler.noFail +}; +Option optlstCmdLineLinker_369 = { + /* names = */ "nofail", + /* avail = */ OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstCmdLineLinker368, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "continue importing or disassembling after errors in earlier files" +}; +SET_T optlstCmdLineLinker372 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ 0 +}; +Option optlstCmdLineLinker_373 = { + /* names = */ "stdlib", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstCmdLineLinker372, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "use system library access paths (specified by {MWLibraries}) and add system libraries (specified by {MWLibraryFiles})" +}; +GENERIC_T optlstCmdLineLinker375 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_SetStage, + /* arg = */ (void *) "Ds", + /* help = */ 0 +}; +MASK_T optlstCmdLineLinker378 = { + /* which = */ PARAMWHICH_Mask, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineLinker375, + /* size = */ 2, + /* ormask = */ 0x4, + /* andmask = */ 0x0, + /* num = */ &pCmdLine.toDisk +}; +SET_T optlstCmdLineLinker381 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineLinker378, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ 0 +}; +SET_T optlstCmdLineLinker383 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstCmdLineLinker381, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pCmdLine.state +}; +Option optlstCmdLineLinker_384 = { + /* names = */ "S", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstCmdLineLinker383, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "disassemble and send output to file; do not link; implies '~~nostdlib'" +}; +Option *optlstCmdLineLinker_385_list[] = { + &optlstCmdLineLinker_352, + &optlstCmdLineLinker_355, + &optlstCmdLineLinker_358, + &optlstCmdLineLinker_361, + &optlstCmdLineLinker_365, + &optlstCmdLineLinker_369, + &optlstCmdLineLinker_373, + &optlstCmdLineLinker_384, + 0 +}; +OptionList optlstCmdLineLinker = { + /* help = */ "Command-Line Linker Options\n", + /* flags = */ LISTFLAGS_LINKER, + /* list = */ optlstCmdLineLinker_385_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDebugging.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDebugging.opt new file mode 100644 index 0000000..6b488ba --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDebugging.opt @@ -0,0 +1,80 @@ +/* Debugging */ +SET_T optlstDebugging388 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLine.debugInfo +}; +Option optlstDebugging_389 = { + /* names = */ "g", + /* avail = */ OTF_GLOBAL | OTF_CASED | OTF_TOOL_COMPILER | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstDebugging388, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "generate debugging information; same as '~~sym on'" +}; +SET_T optlstDebugging396 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pCmdLine.debugInfo +}; +Option optlstDebugging_397 = { + /* names = */ "off", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstDebugging396, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "do not generate debugging information" +}; +SET_T optlstDebugging392 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCmdLine.debugInfo +}; +Option optlstDebugging_393 = { + /* names = */ "on", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstDebugging392, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn on debugging information" +}; +Option *optlstDebugging_398_list[] = { + &optlstDebugging_397, + &optlstDebugging_393, + 0 +}; +OptionList optlstDebugging_398 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_ALLOW_UNKNOWNS | LISTFLAGS_COMPILER | LISTFLAGS_LINKER, + /* list = */ optlstDebugging_398_list +}; +Option optlstDebugging_399 = { + /* names = */ "sym", + /* avail = */ OTF_GLOBAL | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstDebugging_398, + /* conflicts = */ 0, + /* help = */ "specify debugging options" +}; +Option *optlstDebugging_400_list[] = { + &optlstDebugging_389, + &optlstDebugging_399, + 0 +}; +OptionList optlstDebugging = { + /* help = */ "Debugging Control Options\n", + /* flags = */ LISTFLAGS_COMPILER | LISTFLAGS_LINKER, + /* list = */ optlstDebugging_400_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDumper.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDumper.opt new file mode 100644 index 0000000..88c6e90 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDumper.opt @@ -0,0 +1,368 @@ +/* Dumper */ +SET_T optlstDumper1187 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pDisassembler.shownames +}; +SET_T optlstDumper1190 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1187, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pDisassembler.showsym +}; +SET_T optlstDumper1193 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1190, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pDisassembler.showexceptions +}; +SET_T optlstDumper1196 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1193, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pDisassembler.showdata +}; +SET_T optlstDumper1199 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1196, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pDisassembler.nohex +}; +SET_T optlstDumper1202 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1199, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pDisassembler.mix +}; +SET_T optlstDumper1205 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1202, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pDisassembler.extended +}; +SET_T optlstDumper1208 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1205, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pDisassembler.showcode +}; +Option optlstDumper_1209 = { + /* names = */ "only|none", + /* avail = */ OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1208, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "as in '~~show none' or, e.g.,\r'~~show only,code,data'" +}; +SET_T optlstDumper1162 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.shownames +}; +SET_T optlstDumper1165 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1162, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showsym +}; +SET_T optlstDumper1168 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1165, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showexceptions +}; +SET_T optlstDumper1171 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1168, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showdata +}; +SET_T optlstDumper1174 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1171, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.nohex +}; +SET_T optlstDumper1177 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1174, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.mix +}; +SET_T optlstDumper1180 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1177, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.extended +}; +SET_T optlstDumper1183 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1180, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showcode +}; +Option optlstDumper_1184 = { + /* names = */ "all", + /* avail = */ OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1183, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show everything" +}; +SET_T optlstDumper1158 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showcode +}; +Option optlstDumper_1159 = { + /* names = */ "code|text", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1158, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show disassembly of code sections" +}; +SET_T optlstDumper1151 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showcode +}; +SET_T optlstDumper1154 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1151, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.extended +}; +Option optlstDumper_1155 = { + /* names = */ "extended", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1154, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show extended mnemonics" +}; +SET_T optlstDumper1144 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showcode +}; +SET_T optlstDumper1147 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1144, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.mix +}; +Option optlstDumper_1148 = { + /* names = */ "mix", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1147, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "mix code and assembly; requires that modules were compiled with '~~sym on'" +}; +SET_T optlstDumper1137 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showcode +}; +SET_T optlstDumper1140 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1137, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pDisassembler.nohex +}; +Option optlstDumper_1141 = { + /* names = */ "hex", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1140, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show addresses and opcodes" +}; +SET_T optlstDumper1133 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showdata +}; +Option optlstDumper_1134 = { + /* names = */ "data", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1133, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show data modules" +}; +SET_T optlstDumper1126 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showdata +}; +SET_T optlstDumper1129 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstDumper1126, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showexceptions +}; +Option optlstDumper_1130 = { + /* names = */ "exceptions", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1129, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show exception tables" +}; +SET_T optlstDumper1122 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.showsym +}; +Option optlstDumper_1123 = { + /* names = */ "sym", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1122, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show SYM info" +}; +SET_T optlstDumper1118 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pDisassembler.shownames +}; +Option optlstDumper_1119 = { + /* names = */ "names", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstDumper1118, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "show symbol and string tables" +}; +Option *optlstDumper_1210_list[] = { + &optlstDumper_1209, + &optlstDumper_1184, + &optlstDumper_1159, + &optlstDumper_1155, + &optlstDumper_1148, + &optlstDumper_1141, + &optlstDumper_1134, + &optlstDumper_1130, + &optlstDumper_1123, + &optlstDumper_1119, + 0 +}; +OptionList optlstDumper_1210 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER, + /* list = */ optlstDumper_1210_list +}; +Option optlstDumper_1211 = { + /* names = */ "show", + /* avail = */ OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstDumper_1210, + /* conflicts = */ 0, + /* help = */ "specify disassembly options" +}; +Option *optlstDumper_1212_list[] = { + &optlstDumper_1211, + 0 +}; +OptionList optlstDumper = { + /* help = */ "Mach-O PowerPC Disassembler Options\n", + /* flags = */ LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER, + /* list = */ optlstDumper_1212_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsFrontEndC.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsFrontEndC.opt new file mode 100644 index 0000000..7e3c179 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsFrontEndC.opt @@ -0,0 +1,1208 @@ +/* FrontEndC */ +/* forward declare */ extern OptionList optlstFrontEndC_431_conflicts; +SET_T optlstFrontEndC423 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.ansistrict +}; +SET_T optlstFrontEndC426 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC423, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.enumsalwaysint +}; +SET_T optlstFrontEndC429 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC426, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.onlystdkeywords +}; +Option optlstFrontEndC_431_430 = { + /* names = */ "off", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC429, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_431_conflicts, + /* help = */ "same as '~~stdkeywords on', '~~enum min', and '~~strict off'" +}; +SET_T optlstFrontEndC413 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.ansistrict +}; +SET_T optlstFrontEndC416 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC413, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.enumsalwaysint +}; +SET_T optlstFrontEndC419 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC416, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.onlystdkeywords +}; +Option optlstFrontEndC_431_420 = { + /* names = */ "on|relaxed", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC419, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_431_conflicts, + /* help = */ "same as '~~stdkeywords off', '~~enum min', and '~~strict on'" +}; +SET_T optlstFrontEndC403 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.ansistrict +}; +SET_T optlstFrontEndC406 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC403, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.enumsalwaysint +}; +SET_T optlstFrontEndC409 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC406, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.onlystdkeywords +}; +Option optlstFrontEndC_431_410 = { + /* names = */ "strict", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC409, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_431_conflicts, + /* help = */ "same as '~~stdkeywords off', '~~enum int', and '~~strict on'" +}; +Option *optlstFrontEndC_431_list[] = { + &optlstFrontEndC_431_430, + &optlstFrontEndC_431_420, + &optlstFrontEndC_431_410, + 0 +}; +OptionList optlstFrontEndC_431 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_431_list +}; +OptionList optlstFrontEndC_431_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_431_list +}; +Option optlstFrontEndC_432 = { + /* names = */ "ansi", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstFrontEndC_431, + /* conflicts = */ 0, + /* help = */ "specify ANSI conformance options, overriding the given settings" +}; +OFFON_T optlstFrontEndC434 = { + /* which = */ PARAMWHICH_OffOn, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pFrontEndC.onlystdkeywords +}; +Option optlstFrontEndC_435 = { + /* names = */ "appleext", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC434, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "allow nonstandard keywords" +}; +ONOFF_T optlstFrontEndC437 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pFrontEndC.arm +}; +Option optlstFrontEndC_438 = { + /* names = */ "ARM", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC437, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "check code for ARM (Annotated C++ Reference Manual) conformance" +}; +ONOFF_T optlstFrontEndC440 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pFrontEndC.booltruefalse +}; +Option optlstFrontEndC_441 = { + /* names = */ "bool", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC440, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "enable C++ 'bool' type, 'true' and 'false' constants" +}; +ONOFF_T optlstFrontEndC443 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pFrontEndC.enableexceptions +}; +Option optlstFrontEndC_444 = { + /* names = */ "Cpp_exceptions", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC443, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "enable or disable true C++ exceptions" +}; +/* forward declare */ extern OptionList optlstFrontEndC_454_conflicts; +SET_T optlstFrontEndC452 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.unsignedchars +}; +Option optlstFrontEndC_454_453 = { + /* names = */ "signed", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC452, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_454_conflicts, + /* help = */ "chars are signed" +}; +SET_T optlstFrontEndC448 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.unsignedchars +}; +Option optlstFrontEndC_454_449 = { + /* names = */ "unsigned", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC448, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_454_conflicts, + /* help = */ "chars are unsigned" +}; +Option optlstFrontEndC_454_445 = { + /* names = */ "unsignedx", + /* avail = */ OTF_IGNORED | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ 0, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_454_conflicts, + /* help = */ 0 +}; +Option *optlstFrontEndC_454_list[] = { + &optlstFrontEndC_454_453, + &optlstFrontEndC_454_449, + &optlstFrontEndC_454_445, + 0 +}; +OptionList optlstFrontEndC_454 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_454_list +}; +OptionList optlstFrontEndC_454_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_454_list +}; +Option optlstFrontEndC_455 = { + /* names = */ "char", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstFrontEndC_454, + /* conflicts = */ 0, + /* help = */ "set sign of 'char'" +}; +/* forward declare */ extern OptionList optlstFrontEndC_483_conflicts; +GENERIC_T optlstFrontEndC478 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_AddStringToDefines, + /* arg = */ (void *) "#pragma cplusplus off\n", + /* help = */ 0 +}; +SET_T optlstFrontEndC481 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC478, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.cplusplus +}; +Option optlstFrontEndC_483_482 = { + /* names = */ "c|ansic", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC481, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_483_conflicts, + /* help = */ "treat source as C always" +}; +SET_T optlstFrontEndC475 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.cplusplus +}; +Option optlstFrontEndC_483_476 = { + /* names = */ "cplus|cplusplus|c++", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC475, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_483_conflicts, + /* help = */ "treat source as C++ always" +}; +GENERIC_T optlstFrontEndC468 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_AddStringToDefines, + /* arg = */ (void *) "#pragma ignore_oldstyle on\n", + /* help = */ 0 +}; +SET_T optlstFrontEndC471 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC468, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.cplusplus +}; +Option optlstFrontEndC_483_472 = { + /* names = */ "krc", + /* avail = */ OTF_SUBSTITUTED | OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC471, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_483_conflicts, + /* help = */ "'dialect c' and 'proto ignoreoldstyle'\r(CodeWarrior has minimal support for K&R C)" +}; +SET_T optlstFrontEndC462 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.cplusplus +}; +SET_T optlstFrontEndC465 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC462, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.ecplusplus +}; +Option optlstFrontEndC_483_466 = { + /* names = */ "ecplusplus|ec++", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC465, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_483_conflicts, + /* help = */ "generate warnings for use of C++ features outside Embedded C++ subset (implies 'dialect cplus')" +}; +SET_T optlstFrontEndC458 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.objective_c +}; +Option optlstFrontEndC_483_459 = { + /* names = */ "objective-c|objc", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC458, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_483_conflicts, + /* help = */ "allow Objective C extensions" +}; +Option *optlstFrontEndC_483_list[] = { + &optlstFrontEndC_483_482, + &optlstFrontEndC_483_476, + &optlstFrontEndC_483_472, + &optlstFrontEndC_483_466, + &optlstFrontEndC_483_459, + 0 +}; +OptionList optlstFrontEndC_483 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_483_list +}; +OptionList optlstFrontEndC_483_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_483_list +}; +Option optlstFrontEndC_484 = { + /* names = */ "dialect|lang", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstFrontEndC_483, + /* conflicts = */ 0, + /* help = */ "specify source language" +}; +/* forward declare */ extern OptionList optlstFrontEndC_493_conflicts; +SET_T optlstFrontEndC491 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.enumsalwaysint +}; +Option optlstFrontEndC_493_492 = { + /* names = */ "min", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC491, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_493_conflicts, + /* help = */ "use minimum sized enums" +}; +SET_T optlstFrontEndC487 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.enumsalwaysint +}; +Option optlstFrontEndC_493_488 = { + /* names = */ "int", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstFrontEndC487, + /* sub = */ 0, + /* conflicts = */ &optlstFrontEndC_493_conflicts, + /* help = */ "use int-sized enums" +}; +Option *optlstFrontEndC_493_list[] = { + &optlstFrontEndC_493_492, + &optlstFrontEndC_493_488, + 0 +}; +OptionList optlstFrontEndC_493 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_493_list +}; +OptionList optlstFrontEndC_493_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_493_list +}; +Option optlstFrontEndC_494 = { + /* names = */ "enum", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstFrontEndC_493, + /* conflicts = */ 0, + /* help = */ "specify word size for enumeration types" +}; +SET_T optlstFrontEndC537 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.alwaysinline +}; +SET_T optlstFrontEndC539 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC537, + /* size = */ 2, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.inlinelevel +}; +Option optlstFrontEndC_540 = { + /* names = */ "all|on|smart", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC539, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn on inlining" +}; +SET_T optlstFrontEndC528 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.alwaysinline +}; +SET_T optlstFrontEndC530 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC528, + /* size = */ 2, + /* value = */ 0xFFFFFFFF, + /* num = */ (char *) &pFrontEndC.inlinelevel +}; +SET_T optlstFrontEndC533 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC530, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.dontinline +}; +Option optlstFrontEndC_534 = { + /* names = */ "none|off", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC533, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn off inlining" +}; +SET_T optlstFrontEndC521 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.autoinline +}; +SET_T optlstFrontEndC524 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC521, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.dontinline +}; +Option optlstFrontEndC_525 = { + /* names = */ "auto", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC524, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "auto-inline small functions (without 'inline' explicitly specified)" +}; +SET_T optlstFrontEndC517 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.autoinline +}; +Option optlstFrontEndC_518 = { + /* names = */ "noauto", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC517, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "do not auto-inline" +}; +SET_T optlstFrontEndC510 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.alwaysinline +}; +SET_T optlstFrontEndC513 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC510, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.dontinline +}; +Option optlstFrontEndC_514 = { + /* names = */ "always", + /* avail = */ OTF_SECRET | OTF_WARNING | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC513, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "always inlining 'inline' functions is currently unstable" +}; +SET_T optlstFrontEndC503 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.defer_codegen +}; +SET_T optlstFrontEndC506 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC503, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.dontinline +}; +Option optlstFrontEndC_507 = { + /* names = */ "deferred", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC506, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "defer inlining until end of compilation unit; this allows inlining of functions in both directions" +}; +Option optlstFrontEndC_500 = { + /* names = */ "static", + /* avail = */ OTF_OBSOLETE | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER, + /* param = */ 0, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "unreferenced inline functions are removed from object code" +}; +NUM_T optlstFrontEndC495 = { + /* which = */ PARAMWHICH_Number, + /* flags = */ 0x00, + /* myname = */ "n", + /* next = */ 0, + /* size = */ 2, + /* fit = */ 1, + /* lo = */ 0, + /* hi = */ 8, + /* num = */ &pFrontEndC.inlinelevel +}; +SET_T optlstFrontEndC498 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC495, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.dontinline +}; +Option optlstFrontEndC_499 = { + /* names = */ "l|level|depth", + /* avail = */ OTF_CASED | OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC498, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "inline functions up to 'n' levels deep; level 0 is the same as '~~inline off'" +}; +Option *optlstFrontEndC_541_list[] = { + &optlstFrontEndC_540, + &optlstFrontEndC_534, + &optlstFrontEndC_525, + &optlstFrontEndC_518, + &optlstFrontEndC_514, + &optlstFrontEndC_507, + &optlstFrontEndC_500, + &optlstFrontEndC_499, + 0 +}; +OptionList optlstFrontEndC_541 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_541_list +}; +SET_T optlstFrontEndC544 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.dontinline +}; +Option optlstFrontEndC_545 = { + /* names = */ "inline", + /* avail = */ OTF_HIDE_DEFAULT | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ (PARAM_T *) &optlstFrontEndC544, + /* sub = */ &optlstFrontEndC_541, + /* conflicts = */ 0, + /* help = */ "specify inline options" +}; +SET_T optlstFrontEndC548 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.multibyteaware +}; +Option optlstFrontEndC_549 = { + /* names = */ "multibyte|multibyteaware", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC548, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "enable multi-byte character encodings for source text, comments, and strings" +}; +GENERIC_T optlstFrontEndC551 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_AddStringToDefines, + /* arg = */ (void *) "#pragma once off\n", + /* help = */ 0 +}; +Option optlstFrontEndC_552 = { + /* names = */ "notonce", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC551, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "allow header files to be processed more than once; default" +}; +GENERIC_T optlstFrontEndC554 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_AddStringToDefines, + /* arg = */ (void *) "#pragma once on\n", + /* help = */ 0 +}; +Option optlstFrontEndC_555 = { + /* names = */ "once", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC554, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "prevent header files from being processed more than once" +}; +GENERIC_T optlstFrontEndC557 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_AddStringToDefines, + /* arg = */ (void *) "\n", + /* help = */ 0 +}; +GENERIC_T optlstFrontEndC559 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "...", + /* next = */ (PARAM_T *) &optlstFrontEndC557, + /* parse = */ &Opt_AddStringToDefines, + /* arg = */ (void *) "#pragma ", + /* help = */ 0 +}; +Option optlstFrontEndC_560 = { + /* names = */ "pragma", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC559, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "define a pragma for the compiler such as \"#pragma ...\"" +}; +SET_T optlstFrontEndC570 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.checkprotos +}; +Option optlstFrontEndC_571 = { + /* names = */ "strict", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC570, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "require prototypes" +}; +SET_T optlstFrontEndC566 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.checkprotos +}; +Option optlstFrontEndC_567 = { + /* names = */ "auto|lax", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC566, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "don't require prototypes" +}; +GENERIC_T optlstFrontEndC562 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &Opt_AddStringToDefines, + /* arg = */ (void *) "#pragma ignore_oldstyle on\n", + /* help = */ 0 +}; +Option optlstFrontEndC_563 = { + /* names = */ "ignoreoldstyle", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC562, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "allow old-style K&R declarations" +}; +Option *optlstFrontEndC_572_list[] = { + &optlstFrontEndC_571, + &optlstFrontEndC_567, + &optlstFrontEndC_563, + 0 +}; +OptionList optlstFrontEndC_572 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_572_list +}; +Option optlstFrontEndC_573 = { + /* names = */ "proto", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstFrontEndC_572, + /* conflicts = */ 0, + /* help = */ "specify prototype parsing options" +}; +SET_T optlstFrontEndC576 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.checkprotos +}; +Option optlstFrontEndC_577 = { + /* names = */ "r|requireprotos|fstrict-prototype", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC576, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "require prototypes" +}; +ONOFF_T optlstFrontEndC582 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pFrontEndC.useRTTI +}; +SET_T optlstFrontEndC580 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.useRTTI +}; +IFARG_T optlstFrontEndC584 = { + /* which = */ PARAMWHICH_IfArg, + /* flags = */ 0x02, + /* myname = */ 0, + /* next = */ 0, + /* parg = */ (PARAM_T *) &optlstFrontEndC582, + /* helpa = */ "enable or disable RTTI", + /* pnone = */ (PARAM_T *) &optlstFrontEndC580, + /* helpn = */ "enable RTTI" +}; +Option optlstFrontEndC_585 = { + /* names = */ "RTTI", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC584, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify run-time typing information options" +}; +SET_T optlstFrontEndC588 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.mpwpointerstyle +}; +Option optlstFrontEndC_589 = { + /* names = */ "relax_pointers", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC588, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "relax pointer type-checking rules" +}; +SET_T optlstFrontEndC592 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.direct_to_som +}; +Option optlstFrontEndC_593 = { + /* names = */ "som", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC592, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "enable Apple's Direct-to-SOM implementation" +}; +SET_T optlstFrontEndC596 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.direct_to_som +}; +SET_T optlstFrontEndC599 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstFrontEndC596, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.som_env_check +}; +Option optlstFrontEndC_600 = { + /* names = */ "som_env_check", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC599, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "enables automatic SOM environment and new allocation checking; implies ~~som" +}; +ONOFF_T optlstFrontEndC602 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pFrontEndC.onlystdkeywords +}; +Option optlstFrontEndC_603 = { + /* names = */ "stdkeywords", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC602, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "allow only standard keywords" +}; +SET_T optlstFrontEndC618 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.dontreusestrings +}; +Option optlstFrontEndC_619 = { + /* names = */ "reuse", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC618, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "reuse strings; equivalent strings are the same object" +}; +SET_T optlstFrontEndC614 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.dontreusestrings +}; +Option optlstFrontEndC_615 = { + /* names = */ "dontreuse", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC614, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "don't reuse strings; equivalent strings are distinct objects" +}; +SET_T optlstFrontEndC610 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.poolstrings +}; +Option optlstFrontEndC_611 = { + /* names = */ "pool|poolstrings", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC610, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "pool strings into a single data object" +}; +SET_T optlstFrontEndC606 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pBackEnd.readonlystrings +}; +Option optlstFrontEndC_607 = { + /* names = */ "readonly|ro", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC606, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "make all string constants read-only" +}; +Option *optlstFrontEndC_620_list[] = { + &optlstFrontEndC_619, + &optlstFrontEndC_615, + &optlstFrontEndC_611, + &optlstFrontEndC_607, + 0 +}; +OptionList optlstFrontEndC_620 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_620_list +}; +Option optlstFrontEndC_621 = { + /* names = */ "str|strings", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstFrontEndC_620, + /* conflicts = */ 0, + /* help = */ "specify string constant options" +}; +ONOFF_T optlstFrontEndC623 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pFrontEndC.ansistrict +}; +Option optlstFrontEndC_624 = { + /* names = */ "strict", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC623, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify ANSI strictness checking" +}; +ONOFF_T optlstFrontEndC626 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pFrontEndC.trigraphs +}; +Option optlstFrontEndC_627 = { + /* names = */ "trigraphs", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC626, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "enable recognition of trigraphs" +}; +ONOFF_T optlstFrontEndC629 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pFrontEndC.wchar_type +}; +Option optlstFrontEndC_630 = { + /* names = */ "wchar_t", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC629, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "enable wchar_t as a built-in C++ type" +}; +SET_T optlstFrontEndC633 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.enableexceptions +}; +Option optlstFrontEndC_634 = { + /* names = */ "fhandle-exceptions", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC633, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "enable true C++ exceptions" +}; +SET_T optlstFrontEndC637 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.enableexceptions +}; +Option optlstFrontEndC_638 = { + /* names = */ "fno-handle-exceptions", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC637, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "disable true C++ exceptions" +}; +SET_T optlstFrontEndC641 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.unsignedchars +}; +Option optlstFrontEndC_642 = { + /* names = */ "funsigned-char", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC641, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "unspecified chars as unsigned" +}; +SET_T optlstFrontEndC645 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pFrontEndC.checkprotos +}; +Option optlstFrontEndC_646 = { + /* names = */ "fno-strict-prototype", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC645, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "don't require prototypes" +}; +SET_T optlstFrontEndC649 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pFrontEndC.objective_c +}; +Option optlstFrontEndC_650 = { + /* names = */ "fobjc", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstFrontEndC649, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "allow Objective C extensions" +}; +Option *optlstFrontEndC_651_list[] = { + &optlstFrontEndC_432, + &optlstFrontEndC_435, + &optlstFrontEndC_438, + &optlstFrontEndC_441, + &optlstFrontEndC_444, + &optlstFrontEndC_455, + &optlstFrontEndC_484, + &optlstFrontEndC_494, + &optlstFrontEndC_545, + &optlstFrontEndC_549, + &optlstFrontEndC_552, + &optlstFrontEndC_555, + &optlstFrontEndC_560, + &optlstFrontEndC_573, + &optlstFrontEndC_577, + &optlstFrontEndC_585, + &optlstFrontEndC_589, + &optlstFrontEndC_593, + &optlstFrontEndC_600, + &optlstFrontEndC_603, + &optlstFrontEndC_621, + &optlstFrontEndC_624, + &optlstFrontEndC_627, + &optlstFrontEndC_630, + &optlstFrontEndC_634, + &optlstFrontEndC_638, + &optlstFrontEndC_642, + &optlstFrontEndC_646, + &optlstFrontEndC_650, + 0 +}; +OptionList optlstFrontEndC = { + /* help = */ "C/C++ Support Options\n", + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstFrontEndC_651_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsLinker.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsLinker.opt new file mode 100644 index 0000000..1e1279a --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsLinker.opt @@ -0,0 +1,321 @@ +/* Linker */ +STRING_T optlstLinker1061 = { + /* which = */ PARAMWHICH_String, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* maxlen = */ 64, + /* pstring = */ 0, + /* str = */ pLinker.mainname +}; +SET_T optlstLinker1064 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstLinker1061, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ 0 +}; +Option optlstLinker_1065 = { + /* names = */ "m|main", + /* avail = */ OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstLinker1064, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "set main entry point for application, executable, orshared library" +}; +FILEPATH_T optlstLinker1070 = { + /* which = */ PARAMWHICH_FilePath, + /* flags = */ 0x00, + /* myname = */ "filename", + /* next = */ 0, + /* fflags = */ 1, + /* defaultstr = */ 0, + /* filename = */ pCLTExtras.mapfilename, + /* maxlen = */ 255 +}; +SET_T optlstLinker1068 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCLTExtras.gPrintMapToStdOutput +}; +IFARG_T optlstLinker1072 = { + /* which = */ PARAMWHICH_IfArg, + /* flags = */ 0x12, + /* myname = */ 0, + /* next = */ 0, + /* parg = */ (PARAM_T *) &optlstLinker1070, + /* helpa = */ "write map to 'filename'", + /* pnone = */ (PARAM_T *) &optlstLinker1068, + /* helpn = */ "write map to stdout" +}; +SET_T optlstLinker1075 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstLinker1072, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pLinker.linkmap +}; +Option optlstLinker_1076 = { + /* names = */ "map", + /* avail = */ OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstLinker1075, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "generate link map" +}; +SET_T optlstLinker1079 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pLinker.multisymerror +}; +Option optlstLinker_1080 = { + /* names = */ "multisymerr", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstLinker1079, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "generate errors for multiply defined symbols" +}; +GENERIC_T optlstLinker1082 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x00, + /* myname = */ "file", + /* next = */ 0, + /* parse = */ &Opt_DummyLinkerRoutine, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstLinker_1083 = { + /* names = */ "o", + /* avail = */ OTF_ONLY_ONCE | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstLinker1082, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify output filename" +}; +ONOFF_T optlstLinker1085 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pLinker.use_objectivec_semantics +}; +Option optlstLinker_1086 = { + /* names = */ "objc", + /* avail = */ OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstLinker1085, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "use objective C semantics" +}; +/* forward declare */ extern OptionList optlstLinker_1096_conflicts; +SET_T optlstLinker1094 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pLinker.readonlyrelocs +}; +Option optlstLinker_1096_1095 = { + /* names = */ "errors", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstLinker1094, + /* sub = */ 0, + /* conflicts = */ &optlstLinker_1096_conflicts, + /* help = */ "as errors" +}; +SET_T optlstLinker1091 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pLinker.readonlyrelocs +}; +Option optlstLinker_1096_1092 = { + /* names = */ "warnings", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstLinker1091, + /* sub = */ 0, + /* conflicts = */ &optlstLinker_1096_conflicts, + /* help = */ "as warnings" +}; +SET_T optlstLinker1088 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x2, + /* num = */ (char *) &pLinker.readonlyrelocs +}; +Option optlstLinker_1096_1089 = { + /* names = */ "supressed", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstLinker1088, + /* sub = */ 0, + /* conflicts = */ &optlstLinker_1096_conflicts, + /* help = */ "supressed" +}; +Option *optlstLinker_1096_list[] = { + &optlstLinker_1096_1095, + &optlstLinker_1096_1092, + &optlstLinker_1096_1089, + 0 +}; +OptionList optlstLinker_1096 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER, + /* list = */ optlstLinker_1096_list +}; +OptionList optlstLinker_1096_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER, + /* list = */ optlstLinker_1096_list +}; +Option optlstLinker_1097 = { + /* names = */ "roreloc|readonlyrelocs", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstLinker_1096, + /* conflicts = */ 0, + /* help = */ "treat read only relocations" +}; +/* forward declare */ extern OptionList optlstLinker_1107_conflicts; +SET_T optlstLinker1105 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x0, + /* num = */ (char *) &pLinker.undefinedsymbols +}; +Option optlstLinker_1107_1106 = { + /* names = */ "errors", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstLinker1105, + /* sub = */ 0, + /* conflicts = */ &optlstLinker_1107_conflicts, + /* help = */ "as errors" +}; +SET_T optlstLinker1102 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pLinker.undefinedsymbols +}; +Option optlstLinker_1107_1103 = { + /* names = */ "warnings", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstLinker1102, + /* sub = */ 0, + /* conflicts = */ &optlstLinker_1107_conflicts, + /* help = */ "as warnings" +}; +SET_T optlstLinker1099 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 1, + /* value = */ 0x2, + /* num = */ (char *) &pLinker.undefinedsymbols +}; +Option optlstLinker_1107_1100 = { + /* names = */ "supressed", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstLinker1099, + /* sub = */ 0, + /* conflicts = */ &optlstLinker_1107_conflicts, + /* help = */ "supressed" +}; +Option *optlstLinker_1107_list[] = { + &optlstLinker_1107_1106, + &optlstLinker_1107_1103, + &optlstLinker_1107_1100, + 0 +}; +OptionList optlstLinker_1107 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER, + /* list = */ optlstLinker_1107_list +}; +OptionList optlstLinker_1107_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER, + /* list = */ optlstLinker_1107_list +}; +Option optlstLinker_1108 = { + /* names = */ "undefsym", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstLinker_1107, + /* conflicts = */ 0, + /* help = */ "treat undefined symbols" +}; +ONOFF_T optlstLinker1110 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pLinker.whatfileloaded +}; +Option optlstLinker_1111 = { + /* names = */ "whatfile", + /* avail = */ OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstLinker1110, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "report what files are loaded" +}; +ONOFF_T optlstLinker1113 = { + /* which = */ PARAMWHICH_OnOff, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* var = */ &pLinker.whyfileloaded +}; +Option optlstLinker_1114 = { + /* names = */ "whyfile", + /* avail = */ OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstLinker1113, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "report why files are loaded" +}; +Option *optlstLinker_1115_list[] = { + &optlstLinker_1065, + &optlstLinker_1076, + &optlstLinker_1080, + &optlstLinker_1083, + &optlstLinker_1086, + &optlstLinker_1097, + &optlstLinker_1108, + &optlstLinker_1111, + &optlstLinker_1114, + 0 +}; +OptionList optlstLinker = { + /* help = */ "Mach-O PowerPC Linker Options\n", + /* flags = */ LISTFLAGS_LINKER, + /* list = */ optlstLinker_1115_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsOptimizer.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsOptimizer.opt new file mode 100644 index 0000000..177a79e --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsOptimizer.opt @@ -0,0 +1,765 @@ +/* Optimizer */ +GENERIC_T optlstOptimizer748 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G2Pe", + /* help = */ 0 +}; +Option optlstOptimizer_749 = { + /* names = */ "O", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer748, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~O2'" +}; +GENERIC_T optlstOptimizer769 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G0", + /* help = */ 0 +}; +Option optlstOptimizer_770 = { + /* names = */ "0", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer769, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~opt l0'" +}; +GENERIC_T optlstOptimizer766 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G1", + /* help = */ 0 +}; +Option optlstOptimizer_767 = { + /* names = */ "1", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer766, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~opt l1'" +}; +GENERIC_T optlstOptimizer763 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G2Pe", + /* help = */ 0 +}; +Option optlstOptimizer_764 = { + /* names = */ "2", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer763, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~opt l2, peephole'" +}; +GENERIC_T optlstOptimizer760 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G3Pe", + /* help = */ 0 +}; +Option optlstOptimizer_761 = { + /* names = */ "3", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer760, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~opt l3, peephole'" +}; +GENERIC_T optlstOptimizer757 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G4ShPe", + /* help = */ 0 +}; +Option optlstOptimizer_758 = { + /* names = */ "4||5|6|7", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer757, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~opt l4, peephole, schedule'" +}; +GENERIC_T optlstOptimizer754 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Gp", + /* help = */ 0 +}; +Option optlstOptimizer_755 = { + /* names = */ "p", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer754, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~opt speed'" +}; +GENERIC_T optlstOptimizer751 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Gs", + /* help = */ 0 +}; +Option optlstOptimizer_752 = { + /* names = */ "s", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer751, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~opt space'" +}; +Option *optlstOptimizer_771_list[] = { + &optlstOptimizer_770, + &optlstOptimizer_767, + &optlstOptimizer_764, + &optlstOptimizer_761, + &optlstOptimizer_758, + &optlstOptimizer_755, + &optlstOptimizer_752, + 0 +}; +OptionList optlstOptimizer_771 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstOptimizer_771_list +}; +Option optlstOptimizer_772 = { + /* names = */ "O", + /* avail = */ OTF_STICKY | OTF_CASED | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstOptimizer_771, + /* conflicts = */ 0, + /* help = */ "control optimization; you may combine options as in '~~O4,p'" +}; +GENERIC_T optlstOptimizer867 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G0Sn-Pe", + /* help = */ 0 +}; +Option optlstOptimizer_868 = { + /* names = */ "off|none", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer867, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "suppress all optimizations" +}; +GENERIC_T optlstOptimizer864 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G2Pe", + /* help = */ 0 +}; +Option optlstOptimizer_865 = { + /* names = */ "on", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer864, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~opt l2, peephole'" +}; +GENERIC_T optlstOptimizer861 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G4GpShPe", + /* help = */ 0 +}; +Option optlstOptimizer_862 = { + /* names = */ "all|full", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer861, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '~~opt l4, speed, peephole, schedule'" +}; +GENERIC_T optlstOptimizer858 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Gs", + /* help = */ 0 +}; +Option optlstOptimizer_859 = { + /* names = */ "space|size", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer858, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "optimize for space" +}; +GENERIC_T optlstOptimizer855 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Gp", + /* help = */ 0 +}; +Option optlstOptimizer_856 = { + /* names = */ "speed", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer855, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "optimize for speed" +}; +GENERIC_T optlstOptimizer850 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetPragmaOptimizationsToUnspecified, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +NUM_T optlstOptimizer852 = { + /* which = */ PARAMWHICH_Number, + /* flags = */ 0x00, + /* myname = */ "num", + /* next = */ (PARAM_T *) &optlstOptimizer850, + /* size = */ 1, + /* fit = */ 0, + /* lo = */ 0, + /* hi = */ 4, + /* num = */ &pGlobalOptimizer.optimizationlevel +}; +Option optlstOptimizer_853 = { + /* names = */ "l|level", + /* avail = */ OTF_ONLY_ONCE | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer852, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "set optimization level:\rlevel 0: global register allocation only for temporary values\rlevel 1: adds dead code elimination\rlevel 2: adds common subexpression elimination and copy propagation\rlevel 3: adds loop transformations, strength reducation, and loop-invariant code motion\rlevel 4: adds repeated common subexpression elimination and loop-invariant code motion" +}; +GENERIC_T optlstOptimizer847 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G0", + /* help = */ 0 +}; +Option optlstOptimizer_848 = { + /* names = */ "l0", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer847, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "level 0: global register allocation only for temporary values" +}; +GENERIC_T optlstOptimizer844 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G1", + /* help = */ 0 +}; +Option optlstOptimizer_845 = { + /* names = */ "l1", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer844, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "level 1: adds dead code elimination" +}; +GENERIC_T optlstOptimizer841 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G2", + /* help = */ 0 +}; +Option optlstOptimizer_842 = { + /* names = */ "l2", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer841, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "level 2: adds common subexpression elimination and copy propagation" +}; +GENERIC_T optlstOptimizer838 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G3", + /* help = */ 0 +}; +Option optlstOptimizer_839 = { + /* names = */ "l3", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer838, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "level 3: adds loop transformations, strength reducation, and loop-invariant code motion" +}; +GENERIC_T optlstOptimizer835 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G4", + /* help = */ 0 +}; +Option optlstOptimizer_836 = { + /* names = */ "l4", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer835, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "level 4: adds repeated common subexpression elimination and loop-invariant code motion" +}; +GENERIC_T optlstOptimizer832 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Cs", + /* help = */ 0 +}; +Option optlstOptimizer_833 = { + /* names = */ "cse|commonsubs", + /* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer832, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "common subexpression elimination" +}; +GENERIC_T optlstOptimizer829 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Dc", + /* help = */ 0 +}; +Option optlstOptimizer_830 = { + /* names = */ "deadcode", + /* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer829, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "removal of dead code" +}; +GENERIC_T optlstOptimizer826 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Ds", + /* help = */ 0 +}; +Option optlstOptimizer_827 = { + /* names = */ "deadstore", + /* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer826, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "removal of dead assignments" +}; +GENERIC_T optlstOptimizer823 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Lt", + /* help = */ 0 +}; +Option optlstOptimizer_824 = { + /* names = */ "lifetimes", + /* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer823, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "computation of variable lifetimes" +}; +GENERIC_T optlstOptimizer820 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Li", + /* help = */ 0 +}; +Option optlstOptimizer_821 = { + /* names = */ "loop|loopinvariants", + /* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer820, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "removal of loop invariants" +}; +GENERIC_T optlstOptimizer817 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Pr", + /* help = */ 0 +}; +Option optlstOptimizer_818 = { + /* names = */ "prop|propagation", + /* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer817, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "propagation of constant and copy assignments" +}; +GENERIC_T optlstOptimizer814 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Sr", + /* help = */ 0 +}; +Option optlstOptimizer_815 = { + /* names = */ "strength", + /* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer814, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "strength reduction; reducing multiplication by an index variable into addition" +}; +Option optlstOptimizer_812 = { + /* names = */ "global", + /* avail = */ OTF_IGNORED | OTF_HIDE_DEFAULT | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ 0, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "global optimization is controlled through '-opt level=X'" +}; +GENERIC_T optlstOptimizer810 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Pe", + /* help = */ 0 +}; +Option optlstOptimizer_811 = { + /* names = */ "peep|peephole", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer810, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "peephole optimization" +}; +GENERIC_T optlstOptimizer807 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Rc", + /* help = */ 0 +}; +Option optlstOptimizer_808 = { + /* names = */ "color", + /* avail = */ OTF_COMPATIBILITY | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer807, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "register coloring" +}; +GENERIC_T optlstOptimizer804 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "Sh", + /* help = */ 0 +}; +Option optlstOptimizer_805 = { + /* names = */ "schedule", + /* avail = */ OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer804, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "schedule instructions (see '~~proc')" +}; +GENERIC_T optlstOptimizer801 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "S1", + /* help = */ 0 +}; +Option optlstOptimizer_802 = { + /* names = */ "schedule601", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer801, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "-opt schedule, -proc 601" +}; +GENERIC_T optlstOptimizer798 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "S3", + /* help = */ 0 +}; +Option optlstOptimizer_799 = { + /* names = */ "schedule603", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer798, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "-opt schedule, -proc 603" +}; +GENERIC_T optlstOptimizer795 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "S#", + /* help = */ 0 +}; +Option optlstOptimizer_796 = { + /* names = */ "schedule603e", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer795, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "-opt schedule, -proc 603e" +}; +GENERIC_T optlstOptimizer792 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "S4", + /* help = */ 0 +}; +Option optlstOptimizer_793 = { + /* names = */ "schedule604", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer792, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "-opt schedule, -proc 604" +}; +GENERIC_T optlstOptimizer789 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "S$", + /* help = */ 0 +}; +Option optlstOptimizer_790 = { + /* names = */ "schedule604e", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer789, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "-opt schedule, -proc 604e" +}; +GENERIC_T optlstOptimizer786 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "S7", + /* help = */ 0 +}; +Option optlstOptimizer_787 = { + /* names = */ "schedule750", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer786, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "-opt schedule, -proc 750" +}; +GENERIC_T optlstOptimizer783 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "SA", + /* help = */ 0 +}; +Option optlstOptimizer_784 = { + /* names = */ "schedulealtivec", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer783, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "-opt schedule, -proc altivec" +}; +GENERIC_T optlstOptimizer780 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G1PeS1", + /* help = */ 0 +}; +Option optlstOptimizer_781 = { + /* names = */ "inter|local|unroll", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer780, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "opt level=1, peep, schedule=601" +}; +GENERIC_T optlstOptimizer777 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetOptFlags, + /* arg = */ (void *) "G2PeS1", + /* help = */ 0 +}; +Option optlstOptimizer_778 = { + /* names = */ "rep", + /* avail = */ OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer777, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "opt level=2, peep, schedule=601" +}; +GENERIC_T optlstOptimizer774 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &DisplayOptimizationOptions, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstOptimizer_775 = { + /* names = */ "display|dump", + /* avail = */ OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstOptimizer774, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "display list of active optimizations" +}; +Option *optlstOptimizer_869_list[] = { + &optlstOptimizer_868, + &optlstOptimizer_865, + &optlstOptimizer_862, + &optlstOptimizer_859, + &optlstOptimizer_856, + &optlstOptimizer_853, + &optlstOptimizer_848, + &optlstOptimizer_845, + &optlstOptimizer_842, + &optlstOptimizer_839, + &optlstOptimizer_836, + &optlstOptimizer_833, + &optlstOptimizer_830, + &optlstOptimizer_827, + &optlstOptimizer_824, + &optlstOptimizer_821, + &optlstOptimizer_818, + &optlstOptimizer_815, + &optlstOptimizer_812, + &optlstOptimizer_811, + &optlstOptimizer_808, + &optlstOptimizer_805, + &optlstOptimizer_802, + &optlstOptimizer_799, + &optlstOptimizer_796, + &optlstOptimizer_793, + &optlstOptimizer_790, + &optlstOptimizer_787, + &optlstOptimizer_784, + &optlstOptimizer_781, + &optlstOptimizer_778, + &optlstOptimizer_775, + 0 +}; +OptionList optlstOptimizer_869 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_ALLOW_UNKNOWNS | LISTFLAGS_COMPILER, + /* list = */ optlstOptimizer_869_list +}; +Option optlstOptimizer_870 = { + /* names = */ "opt", + /* avail = */ OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstOptimizer_869, + /* conflicts = */ 0, + /* help = */ "specify optimization options" +}; +Option *optlstOptimizer_871_list[] = { + &optlstOptimizer_749, + &optlstOptimizer_772, + &optlstOptimizer_870, + 0 +}; +OptionList optlstOptimizer = { + /* help = */ "Optimizer Options\n\tNote that all options besides '-opt off|on|all|space|speed|level=...' (marked with 'compatibility') are for backwards compatibility or special needs only; other optimization options may be superceded by use of '~~opt level=xxx'.\b", + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstOptimizer_871_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsProject.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsProject.opt new file mode 100644 index 0000000..095ddb9 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsProject.opt @@ -0,0 +1,320 @@ +/* forward declare */ extern OptionList projtype_conflicts; + +/* Project */ +SET_T optlstProject1012 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x0, + /* num = */ (char *) &pProject.type +}; +Option projtype_1013 = { + /* names = */ "app|application", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1012, + /* sub = */ 0, + /* conflicts = */ &projtype_conflicts, + /* help = */ "generate an application bundle; same as '~~xm a'" +}; +SET_T optlstProject1015 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x1, + /* num = */ (char *) &pProject.type +}; +Option projtype_1016 = { + /* names = */ "exe|executable", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1015, + /* sub = */ 0, + /* conflicts = */ &projtype_conflicts, + /* help = */ "generate an excutable; same as '~~xm e'" +}; +SET_T optlstProject1018 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x4, + /* num = */ (char *) &pProject.type +}; +Option projtype_1019 = { + /* names = */ "lib|library", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1018, + /* sub = */ 0, + /* conflicts = */ &projtype_conflicts, + /* help = */ "generate a static library; same as '~~xm l'" +}; +SET_T optlstProject1021 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x3, + /* num = */ (char *) &pProject.type +}; +Option projtype_1022 = { + /* names = */ "obj|object", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1021, + /* sub = */ 0, + /* conflicts = */ &projtype_conflicts, + /* help = */ "generate an object; same as '~~xm o'" +}; +SET_T optlstProject1024 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pProject.type +}; +Option projtype_1025 = { + /* names = */ "shared|sharedlibrary||shlib", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1024, + /* sub = */ 0, + /* conflicts = */ &projtype_conflicts, + /* help = */ "generate a shared library; same as '~~xm s'" +}; +/* forward declare */ extern OptionList optlstProject_1041_conflicts; +SET_T optlstProject1039 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x0, + /* num = */ (char *) &pProject.type +}; +Option optlstProject_1041_1040 = { + /* names = */ "a|application", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1039, + /* sub = */ 0, + /* conflicts = */ &optlstProject_1041_conflicts, + /* help = */ "application bundle" +}; +SET_T optlstProject1036 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x1, + /* num = */ (char *) &pProject.type +}; +Option optlstProject_1041_1037 = { + /* names = */ "e|executable", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1036, + /* sub = */ 0, + /* conflicts = */ &optlstProject_1041_conflicts, + /* help = */ "executable" +}; +SET_T optlstProject1033 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x4, + /* num = */ (char *) &pProject.type +}; +Option optlstProject_1041_1034 = { + /* names = */ "l|library", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1033, + /* sub = */ 0, + /* conflicts = */ &optlstProject_1041_conflicts, + /* help = */ "static library" +}; +SET_T optlstProject1030 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x3, + /* num = */ (char *) &pProject.type +}; +Option optlstProject_1041_1031 = { + /* names = */ "o|object", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1030, + /* sub = */ 0, + /* conflicts = */ &optlstProject_1041_conflicts, + /* help = */ "object" +}; +SET_T optlstProject1027 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 2, + /* value = */ 0x2, + /* num = */ (char *) &pProject.type +}; +Option optlstProject_1041_1028 = { + /* names = */ "s|sharedlibrary", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_CONFLICTS, + /* param = */ (PARAM_T *) &optlstProject1027, + /* sub = */ 0, + /* conflicts = */ &optlstProject_1041_conflicts, + /* help = */ "shared library" +}; +Option *optlstProject_1041_list[] = { + &optlstProject_1041_1040, + &optlstProject_1041_1037, + &optlstProject_1041_1034, + &optlstProject_1041_1031, + &optlstProject_1041_1028, + 0 +}; +OptionList optlstProject_1041 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER, + /* list = */ optlstProject_1041_list +}; +OptionList optlstProject_1041_conflicts = { + /* help = */ 0, + /* flags = */ LISTFLAGS_EXCLUSIVE | LISTFLAGS_LINKER, + /* list = */ optlstProject_1041_list +}; +Option projtype_1042 = { + /* names = */ "xm", + /* avail = */ OTF_TOOL_LINKER | OTF_HAS_SUB_OPTIONS | OTF_HAS_CONFLICTS, + /* param = */ 0, + /* sub = */ &optlstProject_1041, + /* conflicts = */ &projtype_conflicts, + /* help = */ "specify project type" +}; +FTYPE_T optlstProject1043 = { + /* which = */ PARAMWHICH_FTypeCreator, + /* flags = */ 0x00, + /* myname = */ "creator", + /* next = */ 0, + /* fc = */ &pProject.filecreator, + /* iscreator = */ 30 +}; +SET_T optlstProject1046 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstProject1043, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCLTExtras.userSetCreator +}; +Option optlstProject_1047 = { + /* names = */ "fc", + /* avail = */ OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstProject1046, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify output file creator; not used with static libs and MPW tools" +}; +FTYPE_T optlstProject1048 = { + /* which = */ PARAMWHICH_FTypeCreator, + /* flags = */ 0x00, + /* myname = */ "type", + /* next = */ 0, + /* fc = */ &pProject.filetype, + /* iscreator = */ 156 +}; +SET_T optlstProject1051 = { + /* which = */ PARAMWHICH_Set, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ (PARAM_T *) &optlstProject1048, + /* size = */ 1, + /* value = */ 0x1, + /* num = */ (char *) &pCLTExtras.userSetType +}; +Option optlstProject_1052 = { + /* names = */ "ft", + /* avail = */ OTF_ONLY_ONCE | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstProject1051, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify output file type; not used with static libs and MPW tools" +}; +NUM_T optlstProject1054 = { + /* which = */ PARAMWHICH_Number, + /* flags = */ 0x00, + /* myname = */ 0, + /* next = */ 0, + /* size = */ 4, + /* fit = */ 0, + /* lo = */ 0, + /* hi = */ 0, + /* num = */ &pProject.stackaddress +}; +Option optlstProject_1055 = { + /* names = */ "stackaddr", + /* avail = */ OTF_HIDE_DEFAULT | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstProject1054, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify stack address; default is 0" +}; +NUM_T optlstProject1057 = { + /* which = */ PARAMWHICH_Number, + /* flags = */ 0x00, + /* myname = */ "kB", + /* next = */ 0, + /* size = */ 4, + /* fit = */ 0, + /* lo = */ 0, + /* hi = */ 0, + /* num = */ &pProject.stacksize +}; +Option optlstProject_1058 = { + /* names = */ "stacksize", + /* avail = */ OTF_HIDE_DEFAULT | OTF_TOOL_LINKER, + /* param = */ (PARAM_T *) &optlstProject1057, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "specify stack size in kilobytes default is kDefaultStackSize (i.e., determined by loader)" +}; +Option *optlstProject_1059_list[] = { + &projtype_1013, + &projtype_1016, + &projtype_1019, + &projtype_1022, + &projtype_1025, + &projtype_1042, + &optlstProject_1047, + &optlstProject_1052, + &optlstProject_1055, + &optlstProject_1058, + 0 +}; +OptionList optlstProject = { + /* help = */ "Mach-O PowerPC Project Options\n", + /* flags = */ LISTFLAGS_LINKER, + /* list = */ optlstProject_1059_list +}; +Option *projtype_000_list[] = { + &projtype_1013, + &projtype_1016, + &projtype_1019, + &projtype_1022, + &projtype_1025, + &projtype_1042, + 0 +}; +OptionList projtype_conflicts = { + /* help = */ 0, + /* flags = */ 0, + /* list = */ projtype_000_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsWarningC.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsWarningC.opt new file mode 100644 index 0000000..ff8b345 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsWarningC.opt @@ -0,0 +1,583 @@ +/* WarningC */ +GENERIC_T optlstWarningC659 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCw", + /* help = */ 0 +}; +Option optlstWarningC_660 = { + /* names = */ "1", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC659, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as ~~w on" +}; +GENERIC_T optlstWarningC656 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCpLaScCw", + /* help = */ 0 +}; +Option optlstWarningC_657 = { + /* names = */ "2", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC656, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as ~~w all" +}; +GENERIC_T optlstWarningC653 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCw-UvUa", + /* help = */ 0 +}; +Option optlstWarningC_654 = { + /* names = */ "3", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC653, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as ~~w on,nounused" +}; +Option *optlstWarningC_661_list[] = { + &optlstWarningC_660, + &optlstWarningC_657, + &optlstWarningC_654, + 0 +}; +OptionList optlstWarningC_661 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_COMPILER, + /* list = */ optlstWarningC_661_list +}; +Option optlstWarningC_662 = { + /* names = */ "w", + /* avail = */ OTF_GLOBAL | OTF_STICKY | OTF_CASED | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstWarningC_661, + /* conflicts = */ 0, + /* help = */ "compatibility warning options" +}; +GENERIC_T optlstWarningC727 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Cw", + /* help = */ 0 +}; +Option optlstWarningC_728 = { + /* names = */ "options|cmdline", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstWarningC727, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "command-line parser warnings" +}; +GENERIC_T optlstWarningC724 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "-IpEdPuUvUaEcPdHvIcNiCpLaScWeCw|Nw", + /* help = */ 0 +}; +Option optlstWarningC_725 = { + /* names = */ "off", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstWarningC724, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn off all warnings" +}; +GENERIC_T optlstWarningC721 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCw", + /* help = */ 0 +}; +Option optlstWarningC_722 = { + /* names = */ "on", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstWarningC721, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn on most warnings, except 'largeargs' and 'structclass'" +}; +GENERIC_T optlstWarningC718 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCw", + /* help = */ 0 +}; +Option optlstWarningC_719 = { + /* names = */ "conformance|usage", + /* avail = */ OTF_GLOBAL | OTF_SECRET | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC718, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as '-w on'" +}; +GENERIC_T optlstWarningC715 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCpLaScCw", + /* help = */ 0 +}; +Option optlstWarningC_716 = { + /* names = */ "all|full", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC715, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn on all warnings, require prototypes" +}; +GENERIC_T optlstWarningC712 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "We", + /* help = */ 0 +}; +Option optlstWarningC_713 = { + /* names = */ "err|error|iserr|iserror", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstWarningC712, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "warnings are errors" +}; +GENERIC_T optlstWarningC709 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Ip", + /* help = */ 0 +}; +Option optlstWarningC_710 = { + /* names = */ "pragmas|illpragmas", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC709, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "illegal #pragmas" +}; +GENERIC_T optlstWarningC706 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Ed", + /* help = */ 0 +}; +Option optlstWarningC_707 = { + /* names = */ "empty|emptydecl", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC706, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "empty declarations" +}; +GENERIC_T optlstWarningC703 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Pu", + /* help = */ 0 +}; +Option optlstWarningC_704 = { + /* names = */ "possible|unwanted", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC703, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "possible unwanted effects" +}; +GENERIC_T optlstWarningC700 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "UaUv", + /* help = */ 0 +}; +Option optlstWarningC_701 = { + /* names = */ "unused", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC700, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "unused arguments and variables" +}; +GENERIC_T optlstWarningC697 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Ua", + /* help = */ 0 +}; +Option optlstWarningC_698 = { + /* names = */ "unusedarg", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC697, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "unused arguments" +}; +GENERIC_T optlstWarningC694 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Uv", + /* help = */ 0 +}; +Option optlstWarningC_695 = { + /* names = */ "unusedvar", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC694, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "unused variables" +}; +GENERIC_T optlstWarningC691 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "UaUv", + /* help = */ 0 +}; +Option optlstWarningC_692 = { + /* names = */ "unused", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC691, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as ~~w [no]unusedarg,[no]unusedvar" +}; +GENERIC_T optlstWarningC688 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Ec", + /* help = */ 0 +}; +Option optlstWarningC_689 = { + /* names = */ "extracomma|comma", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC688, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "extra commas" +}; +GENERIC_T optlstWarningC685 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Pd", + /* help = */ 0 +}; +Option optlstWarningC_686 = { + /* names = */ "pedantic|extended", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC685, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "pedantic error checking" +}; +GENERIC_T optlstWarningC682 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Hv", + /* help = */ 0 +}; +Option optlstWarningC_683 = { + /* names = */ "hidevirtual|hidden|hiddenvirtual", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC682, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "hidden virtual functions" +}; +GENERIC_T optlstWarningC679 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Ic", + /* help = */ 0 +}; +Option optlstWarningC_680 = { + /* names = */ "implicit|implicitconv", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC679, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "implicit arithmetic conversions" +}; +GENERIC_T optlstWarningC676 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Ni", + /* help = */ 0 +}; +Option optlstWarningC_677 = { + /* names = */ "notinlined", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC676, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "'inline' functions not inlined" +}; +GENERIC_T optlstWarningC673 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "La", + /* help = */ 0 +}; +Option optlstWarningC_674 = { + /* names = */ "largeargs", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC673, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "passing large arguments to unprototyped functions" +}; +GENERIC_T optlstWarningC670 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "Sc", + /* help = */ 0 +}; +Option optlstWarningC_671 = { + /* names = */ "structclass", + /* avail = */ OTF_GLOBAL | OTF_SLFLAGS_8 | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC670, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "inconsistent use of 'class' and 'struct'" +}; +GENERIC_T optlstWarningC667 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "-IpEdPuUvUaEcPdHvIcNiCpLaScCw|Nw", + /* help = */ 0 +}; +Option optlstWarningC_668 = { + /* names = */ "", + /* avail = */ OTF_GLOBAL | OTF_WARNING | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC667, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "Option 'w' deprecated, use 'w off' instead;\r'w' not passed to linker;\rparse error will occur if a non-option follows" +}; +GENERIC_T optlstWarningC664 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &DisplayWarningOptions, + /* arg = */ (void *) 0, + /* help = */ 0 +}; +Option optlstWarningC_665 = { + /* names = */ "display|dump", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER, + /* param = */ (PARAM_T *) &optlstWarningC664, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "display list of active warnings" +}; +Option *optlstWarningC_729_list[] = { + &optlstWarningC_728, + &optlstWarningC_725, + &optlstWarningC_722, + &optlstWarningC_719, + &optlstWarningC_716, + &optlstWarningC_713, + &optlstWarningC_710, + &optlstWarningC_707, + &optlstWarningC_704, + &optlstWarningC_701, + &optlstWarningC_698, + &optlstWarningC_695, + &optlstWarningC_692, + &optlstWarningC_689, + &optlstWarningC_686, + &optlstWarningC_683, + &optlstWarningC_680, + &optlstWarningC_677, + &optlstWarningC_674, + &optlstWarningC_671, + &optlstWarningC_668, + &optlstWarningC_665, + 0 +}; +OptionList optlstWarningC_729 = { + /* help = */ 0, + /* flags = */ LISTFLAGS_ALLOW_UNKNOWNS | LISTFLAGS_COMPILER, + /* list = */ optlstWarningC_729_list +}; +Option optlstWarningC_730 = { + /* names = */ "w|warnings", + /* avail = */ OTF_GLOBAL | OTF_TOOL_COMPILER | OTF_HAS_SUB_OPTIONS, + /* param = */ 0, + /* sub = */ &optlstWarningC_729, + /* conflicts = */ 0, + /* help = */ "warning options" +}; +GENERIC_T optlstWarningC732 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "IpPuHvEd", + /* help = */ 0 +}; +Option optlstWarningC_733 = { + /* names = */ "Wmost", + /* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstWarningC732, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turn on pragmas, emptydecl, possible, hidevirtual" +}; +GENERIC_T optlstWarningC735 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "IpEdPuUvUaEcPdHvIcNiCpLaSc", + /* help = */ 0 +}; +Option optlstWarningC_736 = { + /* names = */ "Wall", + /* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstWarningC735, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as -w all" +}; +GENERIC_T optlstWarningC738 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "We", + /* help = */ 0 +}; +Option optlstWarningC_739 = { + /* names = */ "Werror", + /* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstWarningC738, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as -w iserror" +}; +GENERIC_T optlstWarningC741 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "UaUv", + /* help = */ 0 +}; +Option optlstWarningC_742 = { + /* names = */ "Wunused", + /* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstWarningC741, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "same as -w unusedarg,unusedvar" +}; +GENERIC_T optlstWarningC744 = { + /* which = */ PARAMWHICH_Generic, + /* flags = */ 0x01, + /* myname = */ 0, + /* next = */ 0, + /* parse = */ &SetWarningFlags, + /* arg = */ (void *) "-UaUv", + /* help = */ 0 +}; +Option optlstWarningC_745 = { + /* names = */ "Wno-unused", + /* avail = */ OTF_TOOL_COMPILER | OTF_TOOL_LINKER | OTF_TOOL_DISASSEMBLER, + /* param = */ (PARAM_T *) &optlstWarningC744, + /* sub = */ 0, + /* conflicts = */ 0, + /* help = */ "turns off -w unusedarg,unusedvar" +}; +Option *optlstWarningC_746_list[] = { + &optlstWarningC_662, + &optlstWarningC_730, + &optlstWarningC_733, + &optlstWarningC_736, + &optlstWarningC_739, + &optlstWarningC_742, + &optlstWarningC_745, + 0 +}; +OptionList optlstWarningC = { + /* help = */ "Warning Options\n", + /* flags = */ LISTFLAGS_COMPILER | LISTFLAGS_LINKER | LISTFLAGS_DISASSEMBLER, + /* list = */ optlstWarningC_746_list +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsCmdLine.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsCmdLine.opt new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsCmdLineLinker.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsCmdLineLinker.opt new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsDebugging.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsDebugging.opt new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsDumper.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsDumper.opt new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsLinker.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsLinker.opt new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsProject.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsProject.opt new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsWarning.opt b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-ld/OptsWarning.opt new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c new file mode 100644 index 0000000..7e741c3 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c @@ -0,0 +1,137 @@ +#include "cmdline.h" +#include "parser.h" + +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-common.h" + +static Boolean useDefaultIncludes = 1; +static Boolean useDefaultLibraries = 1; + +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLine.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineCompiler.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsCmdLineLinker.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsFrontEndC.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDebugging.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsOptimizer.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsWarningC.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsBackEnd.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsProject.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsLinker.opt" +#include "compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Lib/mac-ppc-cc/OptsDumper.opt" + +char *prefs[] = { + "PPC CodeGen Mach-O", + "PPC Mach-O Linker", + "PPC Mach-O Target", + "PPC Disassembler", + "PPC Global Optimizer", + "C/C++ Compiler", + "C/C++ Warnings", + "CmdLine Panel", + "CmdLine Compiler Panel", + "CmdLine Linker Panel" +}; + +OptionList *optLists[] = { + &optlstCmdLine, + &optlstCmdLineCompiler, + &optlstFrontEndC, + &optlstBackEnd, + &optlstOptimizer, + &optlstDebugging, + &optlstWarningC, + &optlstProject, + &optlstCmdLineLinker, + &optlstLinker, + &optlstDumper +}; + +static PrefDataPanel stPrefPanels[] = { + "PPC CodeGen Mach-O", &pBackEnd, sizeof(pBackEnd), + "PPC Mach-O Linker", &pLinker, sizeof(pLinker), + "PPC Mach-O Target", &pProject, sizeof(pProject), + "PPC Disassembler", &pDisassembler, sizeof(pDisassembler), + "PPC Global Optimizer", &pGlobalOptimizer, sizeof(pGlobalOptimizer), + "C/C++ Compiler", &pFrontEndC, sizeof(pFrontEndC), + "C/C++ Warnings", &pWarningC, sizeof(pWarningC), + "CmdLine Panel", &pCmdLine, sizeof(pCmdLine), + "CmdLine Compiler Panel", &pCmdLineCompiler, sizeof(pCmdLineCompiler), + "CmdLine Linker Panel", &pCmdLineLinker, sizeof(pCmdLineLinker) +}; + +static int PreParse() { + setLinkerOutputFilename = 0; + linkerOutputFilename[0] = 0; + definesHandle = NULL; + useDefaultIncludes = 1; + schedule_ppc_default = 0; + return 1; +} + +static int MidParse() { + const char *match; + const char *env; + + if (!pCmdLine.state) + pCmdLine.state = OptsCmdLineState_2; + + if (parseopts.possibleFiles > 0 && useDefaultIncludes) { + if ((env = GetEnvVar("MWCMachPPCIncludes", 1, &match))) { + // FIXME can probably get rid of this cast later + if (!AddAccessPathList(env, ':', ',', 1, (char *) match, 1, -1, 0)) + return 0; + } + } + + return 1; +} + +static int PostParse() { + if (!SetupPragmas(irPragmas) || !SetupPragmas(warningPragmas)) + return 0; + + if (definesHandle) { + static const char *name = "(command-line defines)"; + if (pCmdLine.verbose) + ShowTextHandle(name, definesHandle); + AddVirtualFile(name, &definesHandle); + c2pstrcpy(pFrontEndC.oldprefixname, name); + } else { + pFrontEndC.oldprefixname[0] = 0; + } + + FinishCompilerTool(); + if (!ValidateToolState(1)) + return 0; + + if (linkerOutputFilename[0]) { + Arg_AddToToolArgs(&linkargs, ATK_ARG_END, NULL); + Arg_AddToToolArgs(&linkargs, ATK_ARG, "-o"); + Arg_AddToToolArgs(&linkargs, ATK_ARG_END, NULL); + Arg_AddToToolArgs(&linkargs, ATK_ARG, linkerOutputFilename); + Arg_AddToToolArgs(&linkargs, ATK_ARG_END, NULL); + } + + return 1; +} + +static ParserTool parser = { + CWDROPINCOMPILERTYPE, + Lang_C_CPP, + targetCPUPowerPC, + CWFOURCHAR('R','h','a','p'), + 10, + prefs, + "Metrowerks C/C++ Compiler for Mach-O/PPC", + "1993-2000", + 11, + optLists, + 10, + stPrefPanels, + &PreParse, + &MidParse, + &PostParse +}; + +int RegisterStaticParserToolInfo() { + return SetParserToolInfo(&parser); +} diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-common.h b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-common.h new file mode 100644 index 0000000..a56768d --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-common.h @@ -0,0 +1,147 @@ +PCmdLine pCmdLine = { + 0x1002, + 3, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 2 +}; +PCmdLineCompiler pCmdLineCompiler = { + 0x1005, + 0, + 0, + 0, + "", + "", + "", + "", + "", + "", + "", + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + "", + 0, + 0, + 0, + 0, + "", + 0, + 1 +}; +PCmdLineLinker pCmdLineLinker = { + 0x1001, + 1, + 1 +}; +PFrontEndC pFrontEndC = { // compiler only? + 0xC, + 0, + 0, + 0, + 0, + 0, + 1, + 0, + "", + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1, + 0, + 0, + 0, + 1 +}; +PWarningC pWarningC = { // compiler only? + 4 +}; +PGlobalOptimizer pGlobalOptimizer = { // compiler only? + 1, + 2 +}; +PBackEnd pBackEnd = { + 1, + 2, + 0, + 0, + 1, + 0, + 1, + 1, + 1, + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 0, + 1 +}; +PDisassembler pDisassembler = { + 1, + 1, + 1, + 0, + 0, + 1, + 1, + 0, + 1 +}; +PMachOLinker pLinker = { + 1, + 0, + 0, + 0, + 0, + 1, + 0, + 0, + 1, + 0, + 0, + 0, + 0, + 2 +}; +PMachOProject pProject = { + 1, + 1, + "", + CWFOURCHAR('?','?','?','?'), + CWFOURCHAR('M','E','X','E'), + 0x40 +}; +PCLTExtras pCLTExtras = { + 1 +}; diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-ld.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-ld.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/TargetWarningHelpers-ppc-cc.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/TargetWarningHelpers-ppc-cc.c new file mode 100644 index 0000000..31b718f --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/TargetWarningHelpers-ppc-cc.c @@ -0,0 +1,84 @@ +#include "parser.h" + +// I'm making assumptions about the name of this file +// based on TargetWarningHelpers-ppc-ld.c existing in the linker + +PExtraWarningC pExtraWarningC = {0}; +Pragma warningPragmas[] = { + &pExtraWarningC.warn_largeargs, "warn_largeargs", 0, + &pExtraWarningC.warn_padding, "warn_padding", 0, + &pExtraWarningC.warn_resultnotused, "warn_resultnotused", 0, + &pExtraWarningC.warn_ptr_int_conv, "warn_ptr_int_conv", 0, + &pExtraWarningC.warn_no_side_effect, "warn_no_side_effect", 0, + 0, 0, 0 +}; + +int TargetSetWarningFlags(short val, Boolean set) { + switch (val) { + case 'Ip': pWarningC.warn_illpragma = set; break; + case 'Ed': pWarningC.warn_emptydecl = set; break; + case 'Pu': pWarningC.warn_possunwant = set; break; + case 'Uv': pWarningC.warn_unusedvar = set; break; + case 'Ua': pWarningC.warn_unusedarg = set; break; + case 'Ec': pWarningC.warn_extracomma = set; break; + case 'Pe': pWarningC.pedantic = set; break; + case 'Hv': pWarningC.warn_hidevirtual = set; break; + case 'Ic': pWarningC.warn_implicitconv = set; break; + case 'Ni': pWarningC.warn_notinlined = set; break; + case 'Sc': pWarningC.warn_structclass = set; break; + case 'Pa': pExtraWarningC.warn_padding = set ? 1 : 2; break; + case 'Nu': pExtraWarningC.warn_resultnotused = set ? 1 : 2; break; + case 'Se': pExtraWarningC.warn_no_side_effect = set ? 1 : 2; break; + case 'PI': pExtraWarningC.warn_ptr_int_conv = set ? 1 : 2; break; + case 'La': pExtraWarningC.warn_largeargs = set ? 1 : 2; break; + case 'We': pWarningC.warningerrors = set; break; + case 'Cp': pFrontEndC.checkprotos = set; break; + default: return 0; + } + + return 1; +} + +void TargetDisplayWarningOptions(Handle txt) { + HPrintF(txt, "C language warning options:\n"); + + if (pWarningC.warn_illpragma) + HPrintF(txt, "\t- illegal pragmas\n"); + if (pWarningC.warn_emptydecl) + HPrintF(txt, "\t- empty declarations\n"); + if (pWarningC.warn_possunwant) + HPrintF(txt, "\t- possible unwanted effects\n"); + if (pWarningC.warn_unusedvar) + HPrintF(txt, "\t- unused variables\n"); + if (pWarningC.warn_unusedarg) + HPrintF(txt, "\t- unused arguments\n"); + if (pWarningC.warn_extracomma) + HPrintF(txt, "\t- extra commas\n"); + if (pWarningC.pedantic) + HPrintF(txt, "\t- pedantic\n"); + if (pWarningC.warn_hidevirtual) + HPrintF(txt, "\t- hidden virtual functions\n"); + if (pWarningC.warn_implicitconv) + HPrintF(txt, "\t- implicit conversions\n"); + if (pWarningC.warn_notinlined) + HPrintF(txt, "\t- 'inline' not performed\n"); + if (pWarningC.warn_structclass) + HPrintF(txt, "\t- struct/class conflict\n"); + if (pExtraWarningC.warn_largeargs) + HPrintF(txt, "\t- large args passed to unprototyped functions\n"); + if (pExtraWarningC.warn_padding) + HPrintF(txt, "\t- padding added between struct members\n"); + if (pExtraWarningC.warn_resultnotused) + HPrintF(txt, "\t- result of non-void function call not used\n"); + if (pExtraWarningC.warn_no_side_effect) + HPrintF(txt, "\t- use of expressions as statements without side effects\n"); + if (pExtraWarningC.warn_ptr_int_conv) + HPrintF(txt, "\t- implicit integer/pointer conversions\n"); + if (pFrontEndC.checkprotos) + HPrintF(txt, "\t- checking prototypes\n"); + + if (pWarningC.warningerrors) + HPrintF(txt, "\t- warnings are errors\n"); + else + HPrintF(txt, "\t- warnings are not errors\n"); +} diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/TargetWarningHelpers-ppc-ld.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/TargetWarningHelpers-ppc-ld.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/cc-mach-ppc.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/cc-mach-ppc.c new file mode 100644 index 0000000..fc6206c --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/cc-mach-ppc.c @@ -0,0 +1,582 @@ +#include "cmdline.h" + +extern CWPLUGIN_ENTRY(MWC_main)(CWPluginContext context); + +CWPLUGIN_ENTRY (CWPlugin_GetDropInFlags)(const DropInFlags **flags, SInt32 *flagsSize) { + static const DropInFlags sFlags = { + kCurrentDropInFlagsVersion, + CWDROPINCOMPILERTYPE, + DROPINCOMPILERLINKERAPIVERSION_8, + kGeneratescode | kCanpreprocess | kCanprecompile | kCompAllowDupFileNames, + Lang_C_CPP, + DROPINCOMPILERLINKERAPIVERSION_12 + }; + + *flags = &sFlags; + *flagsSize = sizeof(sFlags); + return 0; +} + +CWPLUGIN_ENTRY (CWPlugin_GetTargetList)(const CWTargetList **targetList) { + static CWDataType sCPU[1] = {targetCPUPowerPC}; + static CWDataType sOS[1] = {CWFOURCHAR('R','h','a','p')}; + static CWTargetList sTargetList = { + kCurrentCWTargetListVersion, + 1, + sCPU, + 1, + sOS + }; + + *targetList = &sTargetList; + return 0; +} + +CWPLUGIN_ENTRY (CWPlugin_GetDropInName)(const char **dropinName) { + static const char *sDropInName = "MW C/C++ Mach-O PPC"; + *dropinName = sDropInName; + return 0; +} + +CWPLUGIN_ENTRY (CWPlugin_GetDisplayName)(const char **displayName) { + static const char *sDisplayName = "Mach-O PPC"; + *displayName = sDisplayName; + return 0; +} + +CWPLUGIN_ENTRY (CWPlugin_GetDefaultMappingList)(const CWExtMapList **defaultMappingList) { + static CWExtensionMapping sExtension[10] = { + CWFOURCHAR('T','E','X','T'), ".c", 0, + CWFOURCHAR('T','E','X','T'), ".c++", 0, + CWFOURCHAR('T','E','X','T'), ".cc", 0, + CWFOURCHAR('T','E','X','T'), ".cp", 0, + CWFOURCHAR('T','E','X','T'), ".cpp", 0, + CWFOURCHAR('T','E','X','T'), ".h", kIgnored, + CWFOURCHAR('T','E','X','T'), ".h++", kIgnored, + CWFOURCHAR('T','E','X','T'), ".hpp", kIgnored, + CWFOURCHAR('T','E','X','T'), ".pch", kPrecompile, + CWFOURCHAR('T','E','X','T'), ".pch++", kPrecompile + }; + static CWExtMapList sExtensionMapList = { + kCurrentCWExtMapListVersion, + 10, + sExtension + }; + + *defaultMappingList = &sExtensionMapList; + return 0; +} + +CWPLUGIN_ENTRY (CWPlugin_GetPanelList)(const CWPanelList **panelList) { + static const char *sPanelNames[4] = { + "C/C++ Compiler", + "C/C++ Warnings", + "PPC Global Optimizer", + "PPC CodeGen Mach-O" + }; + static CWPanelList sPanelList = { + kCurrentCWPanelListVersion, + 4, + sPanelNames + }; + + *panelList = &sPanelList; + return 0; +} + +static CWPLUGIN_ENTRY (CmdLine_GetObjectFlags)(const CWObjectFlags **objectFlags) { + static const CWObjectFlags sFlags = { + 2, + 0x80000000, + ".o", + ".b", + ".i", + ".s", + ".d", + "mch", + CWFOURCHAR('C','W','I','E'), CWFOURCHAR('M','P','L','F'), + CWFOURCHAR('C','W','I','E'), CWFOURCHAR('B','R','W','S'), + CWFOURCHAR('C','W','I','E'), CWFOURCHAR('T','E','X','T'), + CWFOURCHAR('C','W','I','E'), CWFOURCHAR('T','E','X','T'), + CWFOURCHAR('C','W','I','E'), CWFOURCHAR('T','E','X','T') + }; + + *objectFlags = &sFlags; + return 0; +} + +static CWPLUGIN_ENTRY (CWPlugin_GetVersionInfo)(const VersionInfo **versionInfo) { + static const VersionInfo vi = { + 2, 4, 5, 0 + }; + + *versionInfo = &vi; + return 0; +} + +static CWPLUGIN_ENTRY (CWPlugin_GetFileTypeMappings)(const OSFileTypeMappingList **mappings) { + static const OSFileTypeMapping ftmes[2] = { + CWFOURCHAR('M','M','C','H'), "\xBE\xEF\xFA\xCE", 4, 0, NULL, + CWFOURCHAR('M','M','C','H'), "\xCE\xFA\xEF\xBE", 4, 0, NULL + }; + static const OSFileTypeMappingList ftml = { + 2, ftmes + }; + + *mappings = &ftml; + return 0; +} + +static BasePluginCallbacks plugin_cb = { + MWC_main, + CWPlugin_GetDropInFlags, + CWPlugin_GetDisplayName, + CWPlugin_GetDropInName, + CWPlugin_GetPanelList, + NULL, + NULL, + CWPlugin_GetVersionInfo, + CWPlugin_GetFileTypeMappings +}; + +static CompilerLinkerPluginCallbacks plugin_cl_cb = { + CWPlugin_GetTargetList, + CWPlugin_GetDefaultMappingList, + NULL, + NULL, + CmdLine_GetObjectFlags, + NULL +}; + +static CWPLUGIN_ENTRY (Linker_GetDropInFlags)(const DropInFlags **flags, SInt32 *flagsSize) { + static const DropInFlags sFlags = { + kCurrentDropInFlagsVersion, + CWDROPINLINKERTYPE, + DROPINCOMPILERLINKERAPIVERSION_8, + 1, + CWFOURCHAR('*','*','*','*'), + DROPINCOMPILERLINKERAPIVERSION_12 + }; + + *flags = &sFlags; + *flagsSize = sizeof(sFlags); + return 0; +} + +static CWPLUGIN_ENTRY (Linker_GetDropInName)(const char **dropinName) { + *dropinName = "Mach-O PPC Linker"; + return 0; +} + +static CWPLUGIN_ENTRY (Linker_GetDisplayName)(const char **displayName) { + *displayName = "Linker Tool Stub"; + return 0; +} + +static CWPLUGIN_ENTRY (Linker_GetPanelList)(const CWPanelList **panelList) { + static const char *sPanelNames[3] = { + "PPC Mach-O Linker", + "PPC Mach-O Target", + "PPC Disassembler" + }; + static CWPanelList sPanelList = { + kCurrentCWPanelListVersion, + 3, + sPanelNames + }; + + *panelList = &sPanelList; + return 0; +} + +static CWPLUGIN_ENTRY (Linker_GetTargetList)(const CWTargetList **targetList) { + static CWDataType sCPU[1] = {targetCPUPowerPC}; + static CWDataType sOS[1] = {CWFOURCHAR('R','h','a','p')}; + static CWTargetList sTargetList = { + kCurrentCWTargetListVersion, + 1, + sCPU, + 1, + sOS + }; + + *targetList = &sTargetList; + return 0; +} + +static CWPLUGIN_ENTRY (Linker_GetDefaultMappingList)(const CWExtMapList **defaultMappingList) { + static CWExtensionMapping sExtension[8] = { + CWFOURCHAR('A','P','P','L'), "", kLaunchable | kRsrcfile, + CWFOURCHAR('A','p','p','l'), "", kLaunchable | kRsrcfile, + CWFOURCHAR('M','W','C','D'), "", kLaunchable | kRsrcfile, + CWFOURCHAR('R','S','R','C'), "", kLaunchable | kRsrcfile, + CWFOURCHAR('r','s','r','c'), "", kLaunchable | kRsrcfile, + CWFOURCHAR('d','o','c','u'), "", kLaunchable | kRsrcfile, + 0, ".rsrc", kLaunchable | kRsrcfile, + 0, ".doc", kLaunchable | kIgnored + }; + static CWExtMapList sExtensionMapList = { + kCurrentCWExtMapListVersion, + 8, + sExtension + }; + + *defaultMappingList = &sExtensionMapList; + return 0; +} + +static BasePluginCallbacks lk_cb = { + NULL, + Linker_GetDropInFlags, + Linker_GetDisplayName, + Linker_GetDropInName, + Linker_GetPanelList, + NULL, + NULL, + CWPlugin_GetVersionInfo, + NULL +}; + +static CompilerLinkerPluginCallbacks lk_cl_cb = { + Linker_GetTargetList, + Linker_GetDefaultMappingList, + NULL, + NULL, + NULL, + NULL +}; + +int RegisterStaticCompilerPlugin() { + return RegisterStaticCompilerLinkerPlugin(&plugin_cb, &plugin_cl_cb) && RegisterStaticCompilerLinkerPlugin(&lk_cb, &lk_cl_cb); +} + +// This is going to be in some .r file, but I'm not sure which +static const char *STR10000[] = { + "illegal character constant", + "illegal string constant", + "unexpected end of file", + "unterminated comment", + "undefined preprocessor directive", + "illegal token", + "string too long", + "identifier expected", + "macro '%u' redefined", + "illegal argument list", + "too many macro arguments", + "macro(s) too complex", + "unexpected end of line", + "end of line expected", + "'(' expected", + "')' expected", + "',' expected", + "preprocessor syntax error", + "preceding #if is missing", + "unterminated #if / macro", + "unexpected token", + "declaration syntax error", + "identifier '%u' redeclared", + "';' expected", + "illegal constant expression", + "']' expected", + "illegal use of 'void'", + "illegal function definition", + "illegal function return type", + "illegal array definition", + "'}' expected", + "illegal struct/union/enum/class definition", + "struct/union/enum/class tag '%u' redefined", + "struct/union/class member '%u' redefined", + "declarator expected", + "'{' expected", + "illegal use of incomplete struct/union/class '%t'", + "struct/union/class size exceeds 32K", + "illegal bitfield declaration", + "division by 0", + "undefined identifier '%u'", + "expression syntax error", + "not an lvalue", + "illegal operation", + "illegal operand", + "data type is incomplete", + "illegal type", + "too many initializers", + "pointer/array required", + "not a struct/union/class", + "'%u' is not a struct/union/class member", + "the file '%u' cannot be opened", + "illegal instruction for this processor", + "illegal operands for this processor", + "number is out of range", + "illegal addressing mode", + "illegal data size", + "illegal register list", + "branch out of range", + "undefined label '%u'", + "reference to label '%u' is out of range", + "call of non-function", + "function call does not match prototype", + "illegal use of register variable", + "illegal type cast", + "function already has a stackframe", + "function has no initialized stackframe", + "value is not stored in register", + "function nesting too complex", + "illegal use of keyword", + "':' expected", + "label '%u' redefined", + "case constant defined more than once", + "default label defined more than once", + "illegal initialization", + "illegal use of inline function", + "illegal type qualifier(s)", + "illegal storage class", + "function has no prototype", + "illegal assignment to constant", + "illegal use of precompiled header", + "illegal data in precompiled header", + "variable / argument '%u' is not used in function", + "illegal use of direct parameters", + "return value expected", + "variable '%u' is not initialized before being used", + "illegal #pragma", + "illegal access to protected/private member", + "ambiguous access to class/struct/union member", + "illegal use of 'this'", + "unimplemented C++ feature", + "illegal use of 'HandleObject'", + "illegal access qualifier", + "illegal 'operator' declaration", + "illegal use of abstract class ('%o')", + "illegal use of pure function", + "illegal '&' reference", + "illegal function overloading", + "illegal operator overloading", + "ambiguous access to overloaded function ", + "illegal access/using declaration", + "illegal 'friend' declaration", + "illegal 'inline' function definition", + "class has no default constructor", + "illegal operator", + "illegal default argument(s)", + "possible unwanted ';'", + "possible unwanted assignment", + "possible unwanted compare", + "illegal implicit conversion from '%t' to", + "'%t'", + "local data >32k", + "illegal jump past initializer", + "illegal ctor initializer", + "cannot construct %t's base class '%t'", + "cannot construct %t's direct member '%u'", + "#if nesting overflow", + "illegal empty declaration", + "illegal implicit enum conversion from '%t' to", + "'%t'", + "illegal use of #pragma parameter", + "virtual functions cannot be pascal functions", + "illegal implicit const/volatile pointer conversion from '%t' to", + "'%t'", + "illegal use of non-static member", + "illegal precompiled header version", + "illegal precompiled header compiler flags or target", + "'const' or '&' variable needs initializer", + "'%o' hides inherited virtual function '%o'", + "pascal function cannot be overloaded", + "derived function differs from virtual base function in return type only", + "non-const '&' reference initialized to temporary", + "illegal template declaration", + "'<' expected", + "'>' expected", + "illegal template argument(s)", + "cannot instantiate '%o'", + "template redefined", + "template parameter mismatch", + "cannot pass const/volatile data object to non-const/volatile member function", + "preceding '#pragma push' is missing", + "illegal explicit template instantiation", + "illegal X::X(X) copy constructor", + "function defined 'inline' after being called", + "illegal constructor/destructor declaration", + "'catch' expected", + "#include nesting overflow", + "cannot convert", + "'%t' to", + "'%t'", + "type mismatch", + "'%t' and", + "'%t'", + "class type expected", + "illegal explicit conversion from '%t' to", + "'%t'", + "function call '*' does not match", + "identifier '%u' redeclared", + "was declared as: '%t'", + "now declared as: '%t'", + "cannot throw class with ambiguous base class ('%u')", + "class '%t': '%o' has more than one final overrider:", + "'%o'", + "and '%o'", + "exception handling option is disabled", + "cannot delete pointer to const", + "cannot destroy const object", + "const member '%u' is not initialized", + "'&' reference member '%u' is not initialized", + "RTTI option is disabled", + "constness casted away", + "illegal const/volatile '&' reference initialization", + "inconsistent linkage: 'extern' object redeclared as 'static'", + "unknown assembler instruction mnemonic", + "local data > 224 bytes", + "'%u' could not be assigned to a register", + "illegal exception specification", + "exception specification list mismatch", + "the parameter(s) of the '%n' function must be immediate value(s)", + "SOM classes can only inherit from other SOM based classes", + "SOM classes inhertiance must be virtual", + "SOM class data members must be private", + "illegal SOM function overload '%o'", + "no static members allowed in SOM classes", + "no parameters allowed in SOM class constructors", + "illegal SOM function parameters or return type", + "SOM runtime function '%u' not defined (should be defined in somobj.hh)", + "SOM runtime function '%u' has unexpected type", + "'%u' is not a SOM class", + "illegal use of #pragma outside of SOM class definition", + "introduced method '%o' is not specified in release order list", + "SOM class access qualification only allowed to direct parent or own class", + "SOM class must have one non-inline member function", + "SOM type '%u' undefined", + "new SOM callstyle method '%o' must have explicit 'Environment *' parameter", + "functions cannot return SOM classes", + "functions cannot have SOM class arguments", + "assignment is not supported for SOM classes", + "sizeof() is not supported for SOM classes", + "SOM classes cannot be class members", + "global SOM class objects are not supported", + "SOM class arrays are not supported", + "'pointer to member' is not supported for SOM classes", + "SOM class has no release order list", + "'%u' is not an Objective-C class", + "method '%m' redeclared", + "undefined method '%m'", + "class '%u' redeclared", + "class '%u' redefined", + "Objective-C type '%u' is undefined (should be defined in objc.h)", + "Objective-C type '%u' has unexpected type", + "method '%m' not defined", + "method '%m' redefined", + "illegal use of 'self'", + "illegal use of 'super'", + "illegal message receiver", + "receiver cannot handle this message", + "ambiguous message selector", + "used: '%m'", + "also had: '%m'", + "unknown message selector", + "illegal use of Objective-C object", + "protocol '%u' redefined", + "protocol '%u' is undefined", + "protocol '%u' is already in protocol list", + "category '%u' redefined", + "category '%u' is undefined", + "illegal use of '%u'", + "template too complex or recursive", + "illegal return value in void/constructor/destructor function", + "assigning a non-int numeric value to an unprototyped function", + "implicit arithmetic conversion from '%t' to '%t'", + "preprocessor #error directive", + "ambiguous access to name found '%u' and '%u'", + "illegal namespace", + "illegal use of namespace name", + "illegal name overloading", + "instance variable list does not match @interface", + "protocol list does not match @interface", + "super class does not match @interface", + "function result is a pointer/reference to an automatic variable", + "cannot allocate initialized objects in the scratchpad", + "illegal class member access", + "data object '%o' redefined", + "illegal access to local variable from other function", + "illegal implicit member pointer conversion", + "typename redefined", + "object '%o' redefined", + "'main' not defined as external 'int main()' function", + "illegal explicit template specialization", + "name has not been declared in namespace/class", + "preprocessor #warning directive", + "illegal use of asm inline function", + "illegal use of C++ feature in EC++", + "illegal use template argument dependent type 'T::%u'", + "illegal use of alloca() in function argument", + "inline function call '%o' not inlined", + "inconsistent use of 'class' and 'struct' keywords", + "illegal partial specialization", + "illegal partial specialization argument list", + "ambiguous use of partial specialization", + "local classes shall not have member templates", + "illegal template argument dependent expression", + "implicit 'int' is no longer supported in C++", + "%i pad byte(s) inserted after data member '%u'", + "pure function '%o' is not virtual", + "illegal virtual function '%o' in 'union'", + "cannot pass 'void' or 'function' parameter", + "illegal static const member '%u' initialization", + "'typename' is missing in template argument dependent qualified type", + "more than one expression in non-class type conversion", + "template non-type argument objects shall have external linkage", + "illegal inline assembly operand: %u", + "illegal or unsupported __attribute__", + "cannot create object file '%f'", + "error writing to object file '%f'", + "printf-family format string doesn't match arguments", + "scanf-family format string doesn't match arguments", + "__alignof__() is not supported for SOM classes", + "illegal macro argument name '%u'", + "case has an empty range of values", + "'long long' switch() is not supported", + "'long long' case range is not supported", + "expression has no side effect", + "result of function call is not used", + "illegal non-type template argument", + "illegal use of abstract class ('%t')", + "illegal use of 'template' prefix", + "template parameter/argument list mismatch", + "cannot find matching deallocation function for '%t'", + "illegal operand '%t'", + "illegal operands '%t' %u '%t'", + "illegal use of default template-argument", + "illegal UUID syntax", + "__uuidof() is not supported for SOM classes", + "illegal access from '%t' to protected/private member '%o'", + "integral type is not large enough to hold pointer", + "unknown x86 assembler instruction mnemonic", + "illegal use of const/volatile function qualifier sequence", + "illegal optimization level for this limited version of CodeWarrior", + "no UUID defined for type '%t'", + "using implicit copy assigment for class with const or reference member ('%t')", + "unimplemented assembler instruction/directive", + "override of dllimport function '%u' only has application scope", + "illegal combination of operands in inline statement at line %i", + "illegal operand in inline statement at line %i", + "function call '*' is ambiguous", + NULL +}; + +static const char *STR10100[] = { + "### Error: Compilation aborted at end of file ###", + "Save precompiled header as...", + "### Error while creating precompiled headerfile (OSErr %ld) ###", + "### Error while writing precompiled headerfile (OSErr %ld) ### ", + "internal compiler error: File: '%s' Line: %ld", + "ran out of registers--turn on Global Optimization for this function", + "### Error: Out of memory ###", + "### User break detected ###", + "### Error: Cannot open main file ###", + "Analyzing symbol table...", + "Writing precompiled header file...", + NULL +}; + +int RegisterCompilerResources() { + return RegisterResource("Compiler Errors", 10000, STR10000) && RegisterResource("Compiler Strings", 10100, STR10100); +} diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/ld-mach-ppc.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/ld-mach-ppc.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c new file mode 100644 index 0000000..b62d413 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c @@ -0,0 +1,146 @@ +#include "cmdline.h" + +// this exists elsewhere +extern CWPLUGIN_ENTRY(PPCLibImport_main)(CWPluginContext context); + +CWPLUGIN_ENTRY (PPCLibImport_GetDropInFlags)(const DropInFlags **flags, SInt32 *flagsSize) { + static const DropInFlags sFlags = { + kCurrentDropInFlagsVersion, + CWDROPINCOMPILERTYPE, + DROPINCOMPILERLINKERAPIVERSION_8, + kGeneratescode | kCanpreprocess | kCanprecompile | kCompAllowDupFileNames | kCompMultiTargAware, + Lang_MISC, + DROPINCOMPILERLINKERAPIVERSION_12 + }; + + *flags = &sFlags; + *flagsSize = sizeof(sFlags); + return 0; +} + +CWPLUGIN_ENTRY (PPCLibImport_GetTargetList)(const CWTargetList **targetList) { + static CWDataType sCPU[1] = {targetCPUPowerPC}; + static CWDataType sOS[1] = {CWFOURCHAR('R','h','a','p')}; + static CWTargetList sTargetList = { + kCurrentCWTargetListVersion, + 1, + sCPU, + 1, + sOS + }; + + *targetList = &sTargetList; + return 0; +} + +CWPLUGIN_ENTRY (PPCLibImport_GetDropInName)(const char **dropinName) { + static const char *sDropInName = "Lib Import Mach-O"; + *dropinName = sDropInName; + return 0; +} + +CWPLUGIN_ENTRY (PPCLibImport_GetDisplayName)(const char **displayName) { + static const char *sDisplayName = "Lib Import Mach-O"; + *displayName = sDisplayName; + return 0; +} + +CWPLUGIN_ENTRY (PPCLibImport_GetDefaultMappingList)(const CWExtMapList **defaultMappingList) { + static CWExtensionMapping sExtension[10] = { + CWFOURCHAR('M','P','L','F'), "", 0, + CWFOURCHAR('M','L','I','B'), "", 0 + }; + static CWExtMapList sExtensionMapList = { + kCurrentCWExtMapListVersion, + 2, + sExtension + }; + + *defaultMappingList = &sExtensionMapList; + return 0; +} + +CWPLUGIN_ENTRY (PPCLibImport_GetPanelList)(const CWPanelList **panelList) { + static CWPanelList sPanelList = { + kCurrentCWPanelListVersion, + 0, + NULL + }; + + *panelList = &sPanelList; + return 0; +} + +static CWPLUGIN_ENTRY (PPCLibImport_GetVersionInfo)(const VersionInfo **versionInfo) { + static const VersionInfo vi = { + 2, 4, 5, 0 + }; + + *versionInfo = &vi; + return 0; +} + +static CWPLUGIN_ENTRY (PPCLibImport_GetFileTypeMappings)(const OSFileTypeMappingList **mappings) { + static const OSFileTypeMapping ftmes[2] = { + CWFOURCHAR('M','P','L','F'), "!arch\n", 8, 0, NULL, + CWFOURCHAR('M','L','I','B'), "\xFE\xED\xFA\xCE", 4, 0, NULL + }; + static const OSFileTypeMappingList ftml = { + 2, ftmes + }; + + *mappings = &ftml; + return 0; +} + +static CWPLUGIN_ENTRY (PPCLibImport_GetObjectFlags)(const CWObjectFlags **objectFlags) { + static const CWObjectFlags sFlags = { + 2, + 0, + NULL, + NULL, + NULL, + ".s", + ".d", + "mch", + 0, 0, + 0, 0, + 0, 0, + CWFOURCHAR('C','W','I','E'), CWFOURCHAR('T','E','X','T'), + 0, 0 + }; + + *objectFlags = &sFlags; + return 0; +} + +static BasePluginCallbacks machlibimport_cb = { + PPCLibImport_main, + PPCLibImport_GetDropInFlags, + PPCLibImport_GetDisplayName, + PPCLibImport_GetDropInName, + PPCLibImport_GetPanelList, + NULL, + NULL, + PPCLibImport_GetVersionInfo, + PPCLibImport_GetFileTypeMappings +}; + +static CompilerLinkerPluginCallbacks machlibimport_cl_cb = { + PPCLibImport_GetTargetList, + PPCLibImport_GetDefaultMappingList, + NULL, + NULL, + PPCLibImport_GetObjectFlags, + NULL +}; + +int RegisterStaticLibImporterPlugin() { + return RegisterStaticCompilerLinkerPlugin(&machlibimport_cb, &machlibimport_cl_cb); +} + +#include "compiler_and_linker/Plugin_Tools/MacOS_PPC/Lib_Importer_Mach/Resources/Errors.r" + +int RegisterLibImporterResources() { + return RegisterResource("Mach-O Lib Importer Errors", 911, STR911); +} diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Static/cc-mach-ppc-mw.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Static/cc-mach-ppc-mw.c new file mode 100644 index 0000000..25a9f49 --- /dev/null +++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Static/cc-mach-ppc-mw.c @@ -0,0 +1,31 @@ +#include "cmdline.h" + +// cc-mach-ppc.c +extern int RegisterStaticCompilerPlugin(); +extern int RegisterCompilerResources(); +// libimp-mach-ppc.c +extern int RegisterStaticLibImporterPlugin(); +extern int RegisterLibImporterResources(); + +void GetStaticTarget(OSType *cpu, OSType *os) { + *cpu = targetCPUPowerPC; + *os = CWFOURCHAR('R','h','a','p'); +} + +void GetStaticPluginType(OSType *language, OSType *plugintype) { + *language = Lang_C_CPP; + *plugintype = CWDROPINCOMPILERTYPE; +} + +void GetStaticParserPluginType(OSType *style) { + *style = CWFOURCHAR('S','e','e','p'); +} + +int RegisterStaticTargetPlugins() { + return RegisterStaticCompilerPlugin() && RegisterStaticLibImporterPlugin(); +} + +int RegisterStaticTargetResources() { + OS_UseMacResourceForkInfo(1); + return RegisterCompilerResources() && RegisterLibImporterResources(); +} diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Static/ld-mach-ppc-mw.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Static/ld-mach-ppc-mw.c new file mode 100644 index 0000000..e69de29 diff --git a/compiler_and_linker/Plugin_Tools/MacOS_PPC/Linker_MacOS_MachPPC/Resources/MachOLinkErrors.r b/compiler_and_linker/Plugin_Tools/MacOS_PPC/Linker_MacOS_MachPPC/Resources/MachOLinkErrors.r new file mode 100644 index 0000000..3a7eb93 --- /dev/null +++ b/compiler_and_linker/Plugin_Tools/MacOS_PPC/Linker_MacOS_MachPPC/Resources/MachOLinkErrors.r @@ -0,0 +1 @@ +// STR11001 \ No newline at end of file -- cgit v1.2.3