Ask Your Question
0

Is GCC 14.0.0 compatible with Sagemath installation from source code?

asked 1 year ago

takashi gravatar image

updated 1 year ago

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
/usr/bin/clang
stephensalser@Stephens-MacBook-Pro-2 ~ % clang -help
OVERVIEW: clang LLVM compiler
Preview: (hide)

Comments

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

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 1 year ago )

1 Answer

Sort by » oldest newest most voted
0

answered 1 year ago

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.

Preview: (hide)
link

Comments

Thanks for your help!

takashi gravatar imagetakashi ( 1 year ago )

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

Stats

Asked: 1 year ago

Seen: 141 times

Last updated: Aug 04 '23