[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile under Guix on Arm

From: Ludovic Courtès
Subject: Re: Guile under Guix on Arm
Date: Wed, 30 Oct 2013 16:27:03 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> On Tue, Oct 29, 2013 at 09:51:51PM +0100, Ludovic Courtès wrote:
>> Could you check in config.log why ‘GC_set_finalizer_notifier’ was
>> considered unavailable?
> Here is an excerpt of config.log:
> configure:48599: checking for GC_set_finalizer_notifier
> configure:48599: armv5-linux-gnueabi-gcc -o conftest 
> -I/nix/store/8wkjgpb4b81ha352zz4fn3pvcwnj8x8c-libgc-7.2d/include   -g -O2  -l

I wanted to try and investigate, but then I realized the breadth and
depth of the triplet mess:

  • We want what config.guess calls armv5tel-linux-gnueabi (as found on
    the GuruPlug and many other devices);

  • Binutils calls it “armv5t”;

  • GCC calls it “armv5”, and presumably needs both --with-arch=armv5t
    and some --with-abi configure flag;

  • libc (in ports/sysdeps/arm/preconfigure) doesn’t seem to care about
    the architecture name, but it does recognize the “linux-gnueabi”

So I guess that will need some thought.

In particular, I guess ‘gcc-configure-flags-for-triplet’ should return
the ‘--target’ flag in addition to the others (so it can remove the
“tel” suffix here), and we probably need
‘binutils-configure-flags-for-triplet’ as well.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]