Some packages seems to rely on cc as the C compiler. So within some environment,let cc be symlinked to the default gcc of the environment. This may not be noticeable when building/installing a package, because cc maybe used only on rare conditions (like when enabling some disabled tests, etc),which isn't enabled by default. Thanks
(name . Mohammed Sadiq)(address . firstname.lastname@example.org)(address . email@example.com)
Mohammed Sadiq <firstname.lastname@example.org> writes:
Toggle quote (3 lines)> Some packages seems to rely on cc as the C compiler. So within some environment,> let cc be symlinked to the default gcc of the environment.
This has been discussed before, and it was decided that in such cases,we should do what's needed to make the build system use gcc. Usuallythat simply entails adding "CC=gcc" to #:make-flags. If you search for"=gcc" in gnu/packages/*.scm, you'll find many such examples. Mark