From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Glibc/hurd work till now Date: Tue, 18 Mar 2014 21:34:35 +0100 Message-ID: <87y507fdpg.fsf@gnu.org> References: <87y5078wfh.fsf@gnu.org> <20140318145504.GA30160@debian> <8761nb8pcu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQ0ik-0007b4-3H for Guix-devel@gnu.org; Tue, 18 Mar 2014 16:34:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQ0ic-0007HM-7i for Guix-devel@gnu.org; Tue, 18 Mar 2014 16:34:46 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:39745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQ0ic-0007H9-0f for Guix-devel@gnu.org; Tue, 18 Mar 2014 16:34:38 -0400 In-Reply-To: (Manolis Ragkousis's message of "Tue, 18 Mar 2014 19:06:31 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Manolis Ragkousis Cc: Guix-devel@gnu.org Manolis Ragkousis 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: $? =3D 1 > configure:2995: result: no At this stage there=E2=80=99s no libc, so no crt*.o (C run-time initializat= ion files.) Thus the above test cannot be run. I think we=E2=80=99ll have to cheat by passing --build=3Di686-pc-gnu and re= moving --host. This is actually what I did in Nixpkgs: https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/gnu/hurd/de= fault.nix Then the =E2=80=98build=E2=80=99 phase must be skipped, and the =E2=80=98in= stall=E2=80=99 phase must just do =E2=80=98make install-headers=E2=80=99. HTH, Ludo=E2=80=99.