Ask Your Question

Is GCC 14.0.0 compatible with Sagemath installation from source code?

asked 2023-08-04 09:09:46 +0200

takashi gravatar image

updated 2023-08-04 10:00:38 +0200

Emmanuel Charpentier gravatar image

The installation instructions state that the GCC version needs to be between 8.0.0 and 12.0.0, but my system claims to have GCC version 14.0.0. Is this OK?

For example, when I type "GCC --version", bash responds with:

Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
stephensalser@Stephens-MacBook-Pro-2 ~ % which clang
stephensalser@Stephens-MacBook-Pro-2 ~ % clang -help
OVERVIEW: clang LLVM compiler
edit retag flag offensive close merge delete


Edited for legibility. If you need to quote output, indent it by four spaces, or use the 010101 button.

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2023-08-04 10:01:37 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2023-08-04 18:25:08 +0200

This will be fine. It's not version 14 of GCC but rather of "clang", the C compiler that Apple includes as part of its command-line tools.

edit flag offensive delete link more


Thanks for your help!

takashi gravatar imagetakashi ( 2023-08-15 04:45:32 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2023-08-04 09:09:46 +0200

Seen: 102 times

Last updated: Aug 04 '23