guix-devel
[Top][All Lists]
Advanced

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

Re: Glibc/hurd work till now


From: Ludovic Courtès
Subject: Re: Glibc/hurd work till now
Date: Tue, 18 Mar 2014 21:34:35 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Manolis Ragkousis <address@hidden> skribis:

> configure:2931: checking whether the C compiler works
> configure:2953: i686-pc-gnu-gcc    conftest.c  >&5
> /gnu/store/6bg25h0pzgscds0br7dzs7lf3vqskl96-gcc-cross-hurd-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  cannot find crt1.o: No such file or directory
> /gnu/store/6bg25h0pzgscds0br7dzs7lf3vqskl96-gcc-cross-hurd-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  cannot find crti.o: No such file or directory
> /gnu/store/6bg25h0pzgscds0br7dzs7lf3vqskl96-gcc-cross-hurd-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  cannot find -lc
> /gnu/store/6bg25h0pzgscds0br7dzs7lf3vqskl96-gcc-cross-hurd-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld:
>  cannot find crtn.o: No such file or directory
> collect2: error: ld returned 1 exit status
> configure:2957: $? = 1
> configure:2995: result: no

At this stage there’s no libc, so no crt*.o (C run-time initialization
files.)  Thus the above test cannot be run.

I think we’ll have to cheat by passing --build=i686-pc-gnu and removing
--host.  This is actually what I did in Nixpkgs:

  
https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/gnu/hurd/default.nix

Then the ‘build’ phase must be skipped, and the ‘install’ phase must
just do ‘make install-headers’.

HTH,
Ludo’.



reply via email to

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