sh-elf-vhex - v2.0.0-rc10 : support MacOS

*update*
> [scripts]
  | [binutils/config] support macos brew package manager

*fix*
> [project]
  | [readme] fix link
This commit is contained in:
YannMagnin 2023-12-20 15:34:53 +01:00
parent b6ce41b6b9
commit 7d8efc839d
No known key found for this signature in database
GPG Key ID: D82629D933EADC59
2 changed files with 9 additions and 2 deletions

View File

@ -74,7 +74,7 @@ It takes about twenty minutes for the build.
Note that GCC `12.x` will never be supported since many critical bugs have been
found for the superh backend
(https://gcc.gnu.org/bugzilla/show\_bug.cgi?id=106609)
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106609)
- GCC `13.2.0` and binutils `2.41`
- GCC `11.2.0` and binutils `2.31`

View File

@ -83,7 +83,14 @@ fi
# Check dependencies for binutils and GCC and offer to install them
#---
if command -v pkg >/dev/null 2>&1
if [[ "$(uname -s)" == 'Darwin' ]]
then
deps='cmake mpfr libmpc gmp libpng ppl flex gcc git texinfo xz gcc'
pm='brew'
pm_has='brew list | grep -i'
pm_install='brew install'
fix='^'
elif command -v pkg >/dev/null 2>&1
then
deps='cmake libmpfr libmpc libgmp libpng flex clang git texinfo'
deps="$deps libisl bison xz-utils gcc"