Manolis Ragkousis <manolis...@gmail.com> 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