Compiling on macOS?
[email protected] Wed, 22 Jan 2025 22:08:52 +0200
| Newsgroups | gmane.comp.parsers.bison.general |
|---|---|
| Message-ID | <[email protected]> |
I am trying to build the latest version of Bison on my M1 Macintosh = running the latest as of now OS X (15.2), xcode-select utilities etc. I = can `./configure` successfully but when I run `make check` I am stopped = by the error: ``` [=E2=80=A6] 12 warnings generated. CC lib/libbison_a-vasprintf.o CC lib/libbison_a-vfprintf.o CC lib/libbison_a-vsnprintf.o CC lib/libbison_a-vsprintf.o CC lib/libbison_a-wcwidth.o AR lib/libbison.a CCLD src/bison ld: archive member '/' not a mach-o file in = '/Users/administrator/Developer/bison-3.8/lib/libbison.a' clang: error: linker command failed with exit code 1 (use -v to see = invocation) make[2]: *** [src/bison] Error 1 make[1]: *** [check-recursive] Error 1 make: *** [check] Error 2 ``` I also tried using GCC-14 (from Homebrew) as the compiler but the error = is similar. What else can I try? Thanks.