Aleksej Saushev wrote:
> 
> cc  -I./../arch/386 -I. -Wall -O2 -march=prescott -O2 -pipe 
> -fomit-frame-pointer -I/usr/pkg/include -I/usr/include -fomit-frame-pointer 
> -fforce-addr -DHAVE_CONFIG_H  
> -DDEFAULTPATH='".:/usr/pkg/lib/gforth/site-forth:/usr/pkg/share/gforth/site-forth:/usr/pkg/lib/gforth/0.6.99:/usr/pkg/share/gforth/0.6.99"'
>   -I/usr/pkg/include -I/usr/include -DDOUBLY_INDIRECT -o main-ditc-noll.o -c 
> ./main.c
> ./main.c:31:20: error: alloca.h: No such file or directory
> 
> Citing alloca(3):
> 
> NAME
>      alloca -- memory allocator
> 
> LIBRARY
>      Standard C Library (libc, -lc)
> 
> SYNOPSIS
>      #include <stdlib.h>

Hmm, both the Solaris man page and the Linux man page talk about
alloca.h (interestingly, the glibc info page says stdlib.h).  I'll use
a configure test, but the BSD maintainers could spare their users some
pain if they provided an alloca.h (and the Solaris people could spare
their users some warnings if they put the declaration of alloca() in
stdlib.h).

- anton

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to