bug-gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #66066] Installation error on Mac


From: Anton Ertl
Subject: [bug #66066] Installation error on Mac
Date: Wed, 7 Aug 2024 06:41:22 -0400 (EDT)

Follow-up Comment #4, bug #66066 (group gforth):

I am not an expert for MacOS. On a system I have access to, I get:


***** For a temporary Homebrew environment, run 'homebrew' *****

cfarm104:~ anton$ gcc 
.bash_history        .lesshst             STORAGE/
.emacs.d/            .ssh/                gforth-0.7.3/
.gforth-history      Library/             gforth-0.7.3.tar.gz
cfarm104:~ anton$ gcc -v
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
cfarm104:~ anton$ homebrew
cfarm104 (homebrew):~ anton$ gcc -v 
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
cfarm104 (homebrew):~ anton$ gcc-
gcc-14         gcc-ar-14      gcc-nm-14      gcc-ranlib-14  
cfarm104 (homebrew):~ anton$ gcc-14 -v
Using built-in specs.
COLLECT_GCC=gcc-14
COLLECT_LTO_WRAPPER=/opt/homebrew/Cellar/gcc/14.1.0_2/bin/../libexec/gcc/aarch64-apple-darwin21/14/lto-wrapper
Target: aarch64-apple-darwin21
Configured with: ../configure --prefix=/opt/homebrew/opt/gcc
--libdir=/opt/homebrew/opt/gcc/lib/gcc/current --disable-nls
--enable-checking=release --with-gcc-major-version-only
--enable-languages=c,c++,objc,obj-c++,fortran,m2 --program-suffix=-14
--with-gmp=/opt/homebrew/opt/gmp --with-mpfr=/opt/homebrew/opt/mpfr
--with-mpc=/opt/homebrew/opt/libmpc --with-isl=/opt/homebrew/opt/isl
--with-zstd=/opt/homebrew/opt/zstd --with-pkgversion='Homebrew GCC 14.1.0_2'
--with-bugurl=https://github.com/Homebrew/homebrew-core/issues
--with-system-zlib --build=aarch64-apple-darwin21
--with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.1.0 (Homebrew GCC 14.1.0_2) 


I see the Cellar thing here, too, and my guess is that the driver binary in
your case is in /usr/local/bin/gcc-14.  Try:


/usr/local/bin/gcc-14 -v
./configure CC=/usr/local/bin/gcc-14


I just tried this with gforth-0.7.3 on Apple Silicon, and there were
additional hurdles:  I commented out the line


CFLAGS="$CFLAGS -no-cpp-precomp"


in configure before running it.  There is also a number of errors because
"libtool compile failed", but gforth and gforth-fast built alright already
before.  I see that Apple's libtool is installed on that system, and
apparently we need GNU libtool.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66066>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]