spack: gcc package does not include 'cc'
I had a user’s build fail because their configure script searched for cc, was unable to find it in the gcc package, and scooped up /usr/bin/cc. On most linux systems, cc and cxx are symbolic links the to a local compiler installation.
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 16 (13 by maintainers)
I would lean against adding our own symlinks. The standard GCC package installs a program called
gcc, notcc. Whatever configure script was used here was clearly not a standard Autotools script. Upstream authors who want their software to be buildable with gcc should really make it possible to configure using a compiler namedgcc. I don’t think we (Spack) should try to cover for every problematic upstream build process.