unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28629: Add cc as a symlink to gcc
@ 2017-09-28  4:29 Mohammed Sadiq
  2017-09-28  7:19 ` Mark H Weaver
  0 siblings, 1 reply; 2+ messages in thread
From: Mohammed Sadiq @ 2017-09-28  4:29 UTC (permalink / raw)
  To: 28629

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#28629: Add cc as a symlink to gcc
  2017-09-28  4:29 bug#28629: Add cc as a symlink to gcc Mohammed Sadiq
@ 2017-09-28  7:19 ` Mark H Weaver
  0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2017-09-28  7:19 UTC (permalink / raw)
  To: Mohammed Sadiq; +Cc: 28629

Mohammed Sadiq <sadiq@sadiqpk.org> writes:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-28  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-28  4:29 bug#28629: Add cc as a symlink to gcc Mohammed Sadiq
2017-09-28  7:19 ` Mark H Weaver

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).