From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Online hackathon ? Date: Thu, 29 Aug 2013 15:35:20 +0200 Message-ID: <87ob8g1uxz.fsf@gnu.org> References: <521D1F56.2070506@gmail.com> <87y57mwxt5.fsf@karetnikov.org> <877gf6c6k5.fsf@gnu.org> <521E44D0.4030909@gmail.com> <87wqn58rku.fsf@gnu.org> <20130829124727.GA7273@debian> 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]:48618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF2Sb-0007Jn-N5 for guix-devel@gnu.org; Thu, 29 Aug 2013 09:40:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VF2SV-0001fg-De for guix-devel@gnu.org; Thu, 29 Aug 2013 09:40:29 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:53186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF2SV-0001fT-77 for guix-devel@gnu.org; Thu, 29 Aug 2013 09:40:23 -0400 In-Reply-To: <20130829124727.GA7273@debian> (Andreas Enge's message of "Thu, 29 Aug 2013 14:47:27 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Wed, Aug 28, 2013 at 10:53:53PM +0200, Ludovic Court=C3=A8s wrote: >> The second thing is GNU packages. Some of the trickier but more >> interesting include TeXmacs, Octave, and R, for instance. > > Octave requires gfortran. How can this be activated in our gcc used for > building packages? I=E2=80=99d be in favor or creating a separate package derived from gcc tha= t has Fortran enabled: (define-public gfortran (package (inherit gcc-4.8) (name "gfortran") (arguments ;; something that does --enable-languages=3Dfortran ))) For code that fiddles with --enable-languages, see the definition of =E2=80=98gcc-boot0=E2=80=99 in base.scm. Probably this should be factorized and made available in a nicer way: (define (gcc #:key (languages '("c" "c++"))) "Return a GCC with the given LANGUAGES..." (package ... ...)) HTH, Ludo=E2=80=99.