getting fatal error: asm/prctl.h: No such file or directory

Stephen Kirby thinjogger@gmail.com
Fri Oct 11 23:32:00 GMT 2019


Thanks Carlos.  Changing the target to arm-linux-gnueabi got me past the
problems!

Now just need to start cross-compiling code...

Best,
Steve

On Fri, Oct 11, 2019 at 1:26 PM Carlos O'Donell <carlos@systemhalted.org>
wrote:

> On Fri, Oct 11, 2019 at 2:50 PM Stephen Kirby <thinjogger@gmail.com>
> wrote:
>
> > I was able to circumvent this error by NOT specifying --host, but only
> > specifying --build=x86_64-linux-gnu and --target=arm-android-eabi.
> > However, not sure this is the proper solution here.
> > **Any ideas here as to whether what I have done here is reasonable?
>
> I don't think arm-android-eabi is a valid target triplet. I've always
> use arm-linux-gnueabi, since you are targetting the linux kernel and
> using the EABI (new ABI).
>
> Likewise use arm-linux-gnueabihf for hard-float procedure call standard.
>
> Cheers,
> Carlos.
>



More information about the Libc-help mailing list