[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add GCC front ends for Fortran, Go, Objective C, and Ob
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: Add GCC front ends for Fortran, Go, Objective C, and Objective C++. |
Date: |
Thu, 31 Oct 2013 23:19:17 +0100 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Nikita Karetnikov <address@hidden> skribis:
>>> If you want to test any of the front-ends, don’t forget to set
>>> LIBRARY_PATH and LD_LIBRARY_PATH, like so:
>>>
>>> $ export
>>> LIBRARY_PATH=/nix/store/wmaxqx3p658v2yqjv00mss2shvn23h7a-glibc-2.18/lib
>>> $ export
>>> LD_LIBRARY_PATH=/nix/store/kvhg0fszagsx5y80sq79bkmb7yqvjfmd-gcc-go-4.8.1/lib
>
>> I guess that’s unnecessary when using ‘ld-wrapper’.
>
> I know nothing about it. Could you elaborate?
‘ld-wrapper’ is a wrapper around the linker that adds a -rpath argument
for each -l argument (see the top of ld-wrapper.scm), such that all the
needed libraries are in the resulting binary’s RUNPATH.
> I tested each front end using the “hello, world” program. Is it enough?
Yes.
> From be260e7d9d4a7592129c0369eee52b156170d1cf Mon Sep 17 00:00:00 2001
> From: Nikita Karetnikov <address@hidden>
> Date: Thu, 31 Oct 2013 19:54:36 +0000
> Subject: [PATCH] gnu: Add GCC front ends for Fortran, Go, Objective C, and
> Objective C++.
>
> * gnu/packages/gcc.scm (custom-gcc, gfortran-4.8, gccgo-4.8)
> (gcc-objc-4.8, gcc-objc++-4.8): New variables.
> ---
> gnu/packages/gcc.scm | 29 +++++++++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
>
> diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
> index dde0f0d..60bc5bb 100644
> --- a/gnu/packages/gcc.scm
> +++ b/gnu/packages/gcc.scm
> @@ -27,6 +27,7 @@
> #:use-module (guix packages)
> #:use-module (guix download)
> #:use-module (guix build-system gnu)
> + #:use-module (guix utils)
> #:use-module (ice-9 regex))
>
> (define %gcc-infrastructure
> @@ -211,6 +212,34 @@ Go. It also includes standard libraries for these
> languages.")
> (base32
> "1j6dwgby4g3p3lz7zkss32ghr45zpdidrg8xvazvn91lqxv25p09"))))))
>
> +(define (custom-gcc gcc name languages)
Please add a docstring here, and then OK to push.
Thank you!
Ludo’.
- GCC front-ends (was: GFortran can’t find system headers), (continued)
- 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
- [PATCH] gnu: Add GCC front ends for Fortran, Go, Objective C, and Objective C++., Nikita Karetnikov, 2013/10/31
- Re: [PATCH] gnu: Add GCC front ends for Fortran, Go, Objective C, and Objective C++.,
Ludovic Courtès <=