Glenn Fowler wrote:
> On Thu, 18 Dec 2008 16:43:08 +0100 Roland Mainz wrote:
> > Glenn Fowler wrote:
> > > btw, the default ast build done by
> > >         bin/package make
> > > does this
> 
> > Uhm... are you sure ? I couldn't find the string "C99"/"c99" in
> > bin/package or "gnu99" in the ast-ksh sources...
> 
> iffe is where all of the action is
> cd src/lib/libast/features
> grep -i c99

After a quick look it seems to test some CPP #definitions, right ? That
may work for the includes but not for some compiler/OS features like
recognizing the extended syntax and behaviour of libc. For example gcc
on Linux AFAIK requires to set "-std=gnu99" to fully recognize the C99
syntax and on Solaris applications must link with /usr/lib/values-xpg6.o
for full C99/XPG6 conformance (which the Sun Workshop/Studio compilers
do automagically if you specify "cc -xc99=%all -D_XOPEN_SOURCE=600" to
run the compiler, e.g. no special link flags are required if you call
the compiler like that).

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to