From: ludo@gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita@karetnikov.org>
Cc: guix-devel@gnu.org
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 [thread overview]
Message-ID: <87a9hpaxsq.fsf@gnu.org> (raw)
In-Reply-To: <8761sdb3mt.fsf_-_@karetnikov.org> (Nikita Karetnikov's message of "Fri, 01 Nov 2013 00:13:14 +0400")
Nikita Karetnikov <nikita@karetnikov.org> 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 <nikita@karetnikov.org>
> 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’.
next prev parent reply other threads:[~2013-10-31 22:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-15 2:59 GFortran can’t find system headers Nikita Karetnikov
2013-10-15 20:17 ` Ludovic Courtès
2013-10-17 12:59 ` Nikita Karetnikov
2013-10-17 15:29 ` Ludovic Courtès
2013-10-19 8:58 ` GCC front-ends (was: GFortran can’t find system headers) Nikita Karetnikov
2013-10-26 20:08 ` GCC front-ends Ludovic Courtès
2013-10-27 10:39 ` Andreas Enge
2013-10-28 13:07 ` Ludovic Courtès
2013-10-29 8:39 ` Andreas Enge
2013-10-29 10:32 ` Ludovic Courtès
2013-10-28 23:23 ` Nikita Karetnikov
2013-10-28 23:23 ` Ludovic Courtès
2013-10-28 23:38 ` Nikita Karetnikov
2013-10-31 20:13 ` [PATCH] gnu: Add GCC front ends for Fortran, Go, Objective C, and Objective C++ Nikita Karetnikov
2013-10-31 22:19 ` Ludovic Courtès [this message]
2013-11-01 21:00 ` Nikita Karetnikov
2013-11-01 22:41 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a9hpaxsq.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=nikita@karetnikov.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.