bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing alloc.h


From: Jim Meyering
Subject: Re: missing alloc.h
Date: Fri, 16 Apr 2004 11:30:50 +0200

Steven J Abner <address@hidden> wrote:
...
> I downloaded coreutils for chmod code.
> I used configure to obtain config.h.
> checking for working alloca.h... no
> checking for alloca... yes
>
> In chmod.c      #include "system.h"
> In system.h     #include <alloca.h>
>
> If I use the makefile will it create alloca.h?

A configure-time test determines whether it is needed.
If so, a rule in lib/Makefile creates alloca.h from alloca_.h.

> I am using project builder to create chmod for examination of the needed

Can't you use the generated Makefiles?
If you use some other build system, you'll have to ensure
the compiler gets of all the required `-I DIR' options.

> size of mode_t. Apple defines 16bits. I don't actually need to
> install, but may later
> use coreutils as a viable upgrade. I also note that glibc-2.3 does
> have alloc.h.
> Is glibc-2.3 a prerequesite?

No.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]