Subject: Re: cross-build on darwin 7.9 fails
To: None <>
From: Christos Zoulas <>
List: current-users
Date: 11/16/2006 21:15:35
In article <>,
Manuel Bouyer  <> wrote:
>trying to cross-build current on a darwin host (which used to work fine;
>this is my main build machine for developements) I get (source updated
>half an hour ago):
>cc -O3 -mtune=G5 -mcpu=G5 -no-cpp-precomp
>-I/local/blues1/bouyer/tmp/i386/obj/Volumes/data/bouyer/current/src/tools/compat/include  -I/Volumes/data/bouyer/current/src/tools/paxctl/../compat
>-DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64 -c -o paxctl.lo.o   
>/Volumes/data/bouyer/current/src/usr.bin/paxctl/paxctl.c:44:17: elf.h:
>No such file or directory
>/Volumes/data/bouyer/current/src/usr.bin/paxctl/paxctl.c: In function
>`main': /Volumes/data/bouyer/current/src/usr.bin/paxctl/paxctl.c:145:
>error: parse error before "Elf32_Ehdr"
>Any idea ?
>I started from a clean obj and destdir

I think that we need to supply an elf.h for the platforms that do not have it.