mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
use sh-elf by default when building
This commit is contained in:
parent
9eb723ee53
commit
3baa7612ee
2 changed files with 5 additions and 4 deletions
|
@ -42,6 +42,7 @@ or both. There are a few dependencies:
|
||||||
|
|
||||||
* A suitable GCC toolchain in the `PATH`. You can absolutely *not* build gint
|
* A suitable GCC toolchain in the `PATH`. You can absolutely *not* build gint
|
||||||
with your system compiler!
|
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-9860G II, `sh3eb-elf` is strongly advised
|
||||||
* For fx-CG 50, `sh4eb-elf` (with `-m4-nofpu`) is slightly better but
|
* For fx-CG 50, `sh4eb-elf` (with `-m4-nofpu`) is slightly better but
|
||||||
`sh3eb-elf` is completely fine
|
`sh3eb-elf` is completely fine
|
||||||
|
|
8
configure
vendored
8
configure
vendored
|
@ -41,11 +41,11 @@ Target selection:
|
||||||
|
|
||||||
fx9860g covers all fx-9860G II-like monochromes models that support add-ins
|
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.
|
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
|
fxcg50 covers just the fx-CG 50; there is some unofficial compatibility with
|
||||||
fx-CG 10/20. All of these are SH4-only.
|
fx-CG 10/20. All of these are SH4-only.
|
||||||
Default toolchain is 'sh4eb-elf'.
|
Default toolchain is 'sh-elf'.
|
||||||
|
|
||||||
Build options:
|
Build options:
|
||||||
--toolchain=TRIPLET Build with a different toolchain
|
--toolchain=TRIPLET Build with a different toolchain
|
||||||
|
@ -95,10 +95,10 @@ for arg; do case "$arg" in
|
||||||
case ${arg#*=} in
|
case ${arg#*=} in
|
||||||
"fx9860g")
|
"fx9860g")
|
||||||
target=fx9860g
|
target=fx9860g
|
||||||
toolchain=${toolchain:-sh3eb-elf};;
|
toolchain=${toolchain:-sh-elf};;
|
||||||
"fxcg50")
|
"fxcg50")
|
||||||
target=fxcg50
|
target=fxcg50
|
||||||
toolchain=${toolchain:-sh4eb-elf};;
|
toolchain=${toolchain:-sh-elf};;
|
||||||
*)
|
*)
|
||||||
echo "error: invalid target '$target'"
|
echo "error: invalid target '$target'"
|
||||||
fail=true
|
fail=true
|
||||||
|
|
Loading…
Reference in a new issue