Skip to content

Commit

Permalink
Update website with new targets
Browse files Browse the repository at this point in the history
  • Loading branch information
simonlindholm committed Feb 17, 2025
1 parent 23dba3f commit 7b85327
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion m2c/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def parse_flags(flags: List[str]) -> Options:
type=Target.parse,
default="mips-ido-c",
help="Target architecture, compiler, and language triple. "
"Supported triples: mips-ido-c, mips-gcc-c, mipsel-gcc-c, mipsee-gcc-c, mipsee-gcc-c++, ppc-mwcc-c++, ppc-mwcc-c. "
"Supported triples: mips-ido-c, mips-gcc-c, mipsel-gcc-c, mipsee-gcc-c, mipsee-gcc-c++, ppc-mwcc-c, ppc-mwcc-c++. "
"Default is mips-ido-c, `ppc` is an alias for ppc-mwcc-c++. ",
)
group.add_argument(
Expand Down
6 changes: 5 additions & 1 deletion website.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ def print_headers(content_type: str) -> None:
"mips-ido-c",
"mips-gcc-c",
"mipsel-gcc-c",
"mipsee-gcc-c",
"mipsee-gcc-c++",
):
cmd.extend(["--target", value])
if "nounkinference" in form:
Expand Down Expand Up @@ -240,8 +242,10 @@ def print_headers(content_type: str) -> None:
<option value="mips-ido-c">MIPS, IDO, C</option>
<option value="mips-gcc-c">MIPS, GCC, C</option>
<option value="mipsel-gcc-c">MIPSEL, GCC, C</option>
<option value="ppc-mwcc-c++">PPC, MWCC, C++</option>
<option value="mipsee-gcc-c">MIPSEE, GCC, C</option>
<option value="mipsee-gcc-c++">MIPSEE, GCC, C++</option>
<option value="ppc-mwcc-c">PPC, MWCC, C</option>
<option value="ppc-mwcc-c++">PPC, MWCC, C++</option>
</select>
</label>
<label>Comment style:
Expand Down

0 comments on commit 7b85327

Please sign in to comment.