Re: Issues cross-compiling hurd

Samuel Thibault <[email protected]> Thu, 19 Jul 2018 02:59:24 +0200
Newsgroups gmane.os.hurd.general
Organization I am not organized
Message-ID <[email protected]>
Hello,

Nathan Dehnel, le lun. 16 juil. 2018 18:57:18 -0500, a ecrit:
> I am trying to compile hurd with cross-hurd, and I get this compilation error:

Which source are you taking exactly?

> ../include/pthread.h:1:26: fatal error: pthread.h: No such file or directory
>  #include_next <pthread.h>
>                           ^
> compilation terminated.
> 
> I tried running ./configure LIBS=-lpthread and setting LIBS += -lpthread in
> configparms, but I'm not really sure what I'm doing.

The issue is with the header, not the library, so it'd rather be a -I.
But libpthread is supposed to be provided by glibc itself actually, by
using the hurd libpthread repo and adding it as an add-on.

Samuel