From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#28629: Add cc as a symlink to gcc Date: Thu, 28 Sep 2017 03:19:27 -0400 Message-ID: <87poabffy8.fsf@netris.org> References: <1581054962.12450.1506572966287@webmail.mailhostbox.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxT88-0000LI-FH for bug-guix@gnu.org; Thu, 28 Sep 2017 03:21:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxT82-0005I1-MQ for bug-guix@gnu.org; Thu, 28 Sep 2017 03:21:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55397) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxT82-0005Hw-Iq for bug-guix@gnu.org; Thu, 28 Sep 2017 03:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dxT82-0003Pp-DN for bug-guix@gnu.org; Thu, 28 Sep 2017 03:21:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <1581054962.12450.1506572966287@webmail.mailhostbox.com> (Mohammed Sadiq's message of "Thu, 28 Sep 2017 09:59:26 +0530 (IST)") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mohammed Sadiq Cc: 28629@debbugs.gnu.org Mohammed Sadiq 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