From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Mathieu Othacehe <m.othacehe@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: i686-linux GCC package on x86_64
Date: Fri, 11 Oct 2019 11:30:10 +0200 [thread overview]
Message-ID: <875zkvd3z1.fsf@ambrevar.xyz> (raw)
In-Reply-To: <87wodbd7k9.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1001 bytes --]
Mathieu Othacehe <m.othacehe@gmail.com> writes:
> --8<---------------cut here---------------start------------->8---
> (native-inputs
> `(,@(if (not (string-prefix? "i686" (%current-system)))
> `(("cross-gcc" ,(cross-gcc "i686-unknown-linux-gnu"
> #:libc (cross-libc "i686-unknown-linux-gnu")))
> ("cross-binutils" ,(cross-binutils "i686-unknown-linux-gnu")))
> '())))
> --8<---------------cut here---------------end--------------->8---
>
> By default the #:libc field of cross-gcc is #f which seems to be the
> issue for you.
This worked, fantastic!
Now the only issue is that the libc is placed in a
"/gnu/store/...-gcc-cross-i686-unknown-linux-gnu-5.5.0/i686-unknown-linux-gnu"
subfolder.
I wonder why. How are dependencies supposed to find the libs in there?
Is it possible to move the libs to the usual "lib" folder at the root?
Cheers!
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2019-10-11 9:30 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-22 17:35 i686-linux GCC package on x86_64 Pierre Neidhardt
2019-10-03 12:38 ` Pierre Neidhardt
2019-10-04 6:32 ` Mathieu Othacehe
2019-10-04 8:09 ` Pierre Neidhardt
2019-10-04 15:16 ` Mathieu Othacehe
2019-10-04 15:46 ` Jelle Licht
2019-10-04 16:16 ` Danny Milosavljevic
2019-10-05 4:54 ` Chris Marusich
2019-10-07 22:34 ` Ricardo Wurmus
2019-10-08 2:36 ` Chris Marusich
2019-10-10 13:34 ` Pierre Neidhardt
2019-10-11 8:12 ` Mathieu Othacehe
2019-10-11 9:30 ` Pierre Neidhardt [this message]
2019-10-11 10:07 ` Mathieu Othacehe
2019-10-14 13:35 ` Pierre Neidhardt
2019-10-14 14:21 ` Jelle Licht
2019-10-14 14:23 ` Jelle Licht
2019-10-14 14:54 ` Mathieu Othacehe
2019-10-14 15:44 ` Pierre Neidhardt
2019-10-16 16:38 ` Alex Kost
2019-10-07 15:19 ` Ludovic Courtès
2019-10-10 13:35 ` Pierre Neidhardt
2019-10-10 15:00 ` 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875zkvd3z1.fsf@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=guix-devel@gnu.org \
--cc=m.othacehe@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).