From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?=) Subject: bug#29644: gcc-objc is unusable without its 'gcc' executable Date: Sun, 10 Dec 2017 22:26:28 +0800 Message-ID: <87k1xuhd63.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO2ZO-0003Xz-NQ for bug-guix@gnu.org; Sun, 10 Dec 2017 09:27:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO2ZL-00074E-H5 for bug-guix@gnu.org; Sun, 10 Dec 2017 09:27:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:45946) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO2ZL-000745-E4 for bug-guix@gnu.org; Sun, 10 Dec 2017 09:27:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eO2ZL-0005Rt-8K for bug-guix@gnu.org; Sun, 10 Dec 2017 09:27:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO2Yy-0003W6-Se for bug-guix@gnu.org; Sun, 10 Dec 2017 09:26:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO2Yv-0006m2-PD for bug-guix@gnu.org; Sun, 10 Dec 2017 09:26:40 -0500 Received: from rezeros.cc ([2001:19f0:7001:2f3e:5400:ff:fe84:e55d]:35514) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eO2Yv-0006kM-Ai for bug-guix@gnu.org; Sun, 10 Dec 2017 09:26:37 -0500 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: 29644@debbugs.gnu.org Hello, unlike fortran program files which can be compiled using the command 'gfortran' (in addition to 'gcc'), there is no other command for Objective-C program files, and run 'gcc -c x.m' using the 'gcc' package will just complain "Objective-C compiler not installed on this system" due to it lacking objc support. I have to revert commit 82f145ef7a to get a objc enabled 'gcc' in the 'gcc-objc' package. IIUC, the purpose of that commit is to avoid file collisions between 'gfortran' and the 'gcc' package used in the 'gnu-build-system', which will broke the compiler in some way. So I think we really want to only have one gcc package in an environment... How about enable all languages (except 'brig' which I never heard of) for the gcc-final and the 'gcc' (in gcc.scm) packages? In this way, I think 'gnu-build-system' and 'gcc-toolchain' will able to compile Fortran, Objective-C, Go, etc. out of the box.