[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’.
- Glibc/hurd work till now, Manolis Ragkousis, 2014/03/18
- Re: Glibc/hurd work till now, Ludovic Courtès, 2014/03/18
- Re: Glibc/hurd work till now, Ludovic Courtès, 2014/03/18
- Re: Glibc/hurd work till now, Andreas Enge, 2014/03/18
- Re: Glibc/hurd work till now, Ludovic Courtès, 2014/03/18
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/18
- Re: Glibc/hurd work till now,
Ludovic Courtès <=
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/18
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/19
- Re: Glibc/hurd work till now, Ludovic Courtès, 2014/03/19
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/19
- Re: Glibc/hurd work till now, Ludovic Courtès, 2014/03/19
- Re: Glibc/hurd work till now, Manolis Ragkousis, 2014/03/20
- libpthread fails to build as an add-on, Ludovic Courtès, 2014/03/20
- Re: libpthread fails to build as an add-on, Manolis Ragkousis, 2014/03/20
- Re: libpthread fails to build as an add-on, Manolis Ragkousis, 2014/03/23
- Re: libpthread fails to build as an add-on, Manolis Ragkousis, 2014/03/23