From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#29644: gcc-objc is unusable without its 'gcc' executable Date: Sun, 10 Dec 2017 19:49:04 +0100 Message-ID: <87shciwh9b.fsf@elephly.net> References: <87k1xuhd63.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eO6fu-0003tU-SI for bug-guix@gnu.org; Sun, 10 Dec 2017 13:50:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eO6fq-000359-VA for bug-guix@gnu.org; Sun, 10 Dec 2017 13:50:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eO6fq-00034m-Ln for bug-guix@gnu.org; Sun, 10 Dec 2017 13:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eO6fq-00057E-An for bug-guix@gnu.org; Sun, 10 Dec 2017 13:50:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87k1xuhd63.fsf@member.fsf.org> 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: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 29644@debbugs.gnu.org =E5=AE=8B=E6=96=87=E6=AD=A6 writes: > 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. In May 2016 I first noticed this problem with GCC and investigated solutions. The fix here is to patch =E2=80=9Clang-spec.h=E2=80=9D, so that it does not= limit the gcc executable to the configured set of languages. This way we will be able to use the same gcc executable with different languages. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net