Subject: Re: build paxctl on non-elf hosts
To: None <>
From: Christos Zoulas <>
List: tech-toolchain
Date: 11/21/2006 21:08:08
In article <>,
Manuel Bouyer  <> wrote:
>current tools fails to build on darwin because paxctl can't find elf.h.
>Would anyone object to the attached patch ? I think it's better to use
>our elf.h anyway, as the tool is supposed to operate on cross-compiled
>elf.h is sys/sys/exec_elf.h without the machdep defines, which paxctl
>doesn't use.

Sure, but why don't you add a define to protect the machdep header,
and then copy the header as needed instead of checking in a copy?