Browse Source

use sh-elf by default when building

tags/2.0.0-beta
Lephe 7 months ago
parent
commit
3baa7612ee
Signed by: Lephenixnoir <sebastien.michelland@protonmail.com> GPG Key ID: 1BBA026E13FC0495
2 changed files with 5 additions and 4 deletions
  1. +1
    -0
      README.md
  2. +4
    -4
      configure

+ 1
- 0
README.md View File

@@ -42,6 +42,7 @@ or both. There are a few dependencies:

* A suitable GCC toolchain in the `PATH`. You can absolutely *not* build gint
with your system compiler!
* The tutorial on Planète Casio builds an `sh-elf` that works everywhere
* For fx-9860G II, `sh3eb-elf` is strongly advised
* For fx-CG 50, `sh4eb-elf` (with `-m4-nofpu`) is slightly better but
`sh3eb-elf` is completely fine


+ 4
- 4
configure View File

@@ -41,11 +41,11 @@ Target selection:

fx9860g covers all fx-9860G II-like monochromes models that support add-ins
or can be flashed with an OS that does. This includes SH3 and SH4 machines.
Default toolchain is 'sh3eb-elf'.
Default toolchain is 'sh-elf'.

fxcg50 covers just the fx-CG 50; there is some unofficial compatibility with
fx-CG 10/20. All of these are SH4-only.
Default toolchain is 'sh4eb-elf'.
Default toolchain is 'sh-elf'.

Build options:
--toolchain=TRIPLET Build with a different toolchain
@@ -95,10 +95,10 @@ for arg; do case "$arg" in
case ${arg#*=} in
"fx9860g")
target=fx9860g
toolchain=${toolchain:-sh3eb-elf};;
toolchain=${toolchain:-sh-elf};;
"fxcg50")
target=fxcg50
toolchain=${toolchain:-sh4eb-elf};;
toolchain=${toolchain:-sh-elf};;
*)
echo "error: invalid target '$target'"
fail=true


Loading…
Cancel
Save