From 3baa7612ee329b18a0a0feaff0f9d6251b50c1c1 Mon Sep 17 00:00:00 2001 From: Lephe Date: Wed, 13 Nov 2019 19:31:37 +0100 Subject: [PATCH] use sh-elf by default when building --- README.md | 1 + configure | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index abf6780..26464a1 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/configure b/configure index 7427c30..f331bff 100755 --- a/configure +++ b/configure @@ -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