Add cc as a symlink to gcc

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Mark H Weaver
  • Mohammed Sadiq
Owner
unassigned
Submitted by
Mohammed Sadiq
Severity
normal
M
M
Mohammed Sadiq wrote on 28 Sep 2017 06:29
(address . bug-guix@gnu.org)
1581054962.12450.1506572966287@webmail.mailhostbox.com
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 may
be used only on rare conditions (like when enabling some disabled tests, etc),
which isn't enabled by default.

Thanks
M
M
Mark H Weaver wrote on 28 Sep 2017 09:19
(name . Mohammed Sadiq)(address . sadiq@sadiqpk.org)(address . 28629@debbugs.gnu.org)
87poabffy8.fsf@netris.org
Mohammed Sadiq <sadiq@sadiqpk.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. Usually
that simply entails adding "CC=gcc" to #:make-flags. If you search for
"=gcc" in gnu/packages/*.scm, you'll find many such examples.

Mark
L
L
Ludovic Courtès wrote on 5 Oct 2017 23:06
control message for bug #28629
(address . control@debbugs.gnu.org)
87376x2tkh.fsf@gnu.org
tags 28629 wontfix
close 28629
?