[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GFortran can’t find system headers
From: |
Nikita Karetnikov |
Subject: |
Re: GFortran can’t find system headers |
Date: |
Thu, 17 Oct 2013 16:59:53 +0400 |
> Instead, what should do is preserve the arguments; the value associated
> with #:configure-flags should be changed to replace any
> --enable-languages=.* flag with yours. See ‘gcc-boot0’ in base.scm for
> how to do that.
Are you talking about the ‘substitute-keyword-arguments’ part?
> Alternately, you could turn the current ‘gcc-4.8’ definition into a
> ‘make-gcc-4.8’ procedure like this:
> (define* (make-gcc-4.8 #:key languages)
> (package
> ...
> #:configure-flags ... ,(string-join languages ",")
> ...))
> (define gcc-4.8
> (make-gcc-4.8 #:languages '("c" "c++")))
> That would probably be easier to work with.
I don’t like the above version because it doesn’t allow to choose the
version of GCC. I’ve attached my version, how can I make it look
better?
Also, ‘/nix/store/nxpzxlvg5z5qq10wzxrzk9hjyhxyicxq-gfortran-4.8.1/bin’
contains these programs:
c++ gcc-ranlib i686-pc-linux-gnu-gcc-4.8.1
cpp gcov i686-pc-linux-gnu-gcc-ar
g++ gfortran i686-pc-linux-gnu-gcc-nm
gcc i686-pc-linux-gnu-c++ i686-pc-linux-gnu-gcc-ranlib
gcc-ar i686-pc-linux-gnu-g++ i686-pc-linux-gnu-gfortran
gcc-nm i686-pc-linux-gnu-gcc
Are C++ and C-related programs supposed to be there?
gcc.diff
Description: Text Data
pgpR6EXrhofBn.pgp
Description: PGP signature
- GFortran can’t find system headers, Nikita Karetnikov, 2013/10/14
- Re: GFortran can’t find system headers, Ludovic Courtès, 2013/10/15
- Re: GFortran can’t find system headers,
Nikita Karetnikov <=
- Re: GFortran can’t find system headers, Ludovic Courtès, 2013/10/17
- GCC front-ends (was: GFortran can’t find system headers), Nikita Karetnikov, 2013/10/19
- Re: GCC front-ends, Ludovic Courtès, 2013/10/26
- Re: GCC front-ends, Andreas Enge, 2013/10/27
- Re: GCC front-ends, Ludovic Courtès, 2013/10/28
- Re: GCC front-ends, Andreas Enge, 2013/10/29
- Re: GCC front-ends, Ludovic Courtès, 2013/10/29
- Re: GCC front-ends, Nikita Karetnikov, 2013/10/28
- Re: GCC front-ends, Ludovic Courtès, 2013/10/28
- Re: GCC front-ends, Nikita Karetnikov, 2013/10/28