Re: aCC compiler Flags support

2000-11-18 Thread Simon Richter
On Fri, 17 Nov 2000, Tim Heath wrote: > I don't know of a way to use a #define within a source file for a > compiler flag. Can you tell me the other way to accomplish this goal? -D is the compiler flag for "add this definition as if it were #defined". Thus, the source should begin with #defin

Re: aCC compiler Flags support

2000-11-17 Thread Paul Berrevoets
I seem to remember that the documentation suggests adding them to INCLUDES: INCLUDES = -D_POSIX1C_SOURCE -D_HPUX_SOURCE -D_REENTRANT -- Paul Berrevoets Tim Heath wrote: > I have to add to DEFS: > > -D_POSIX1C_SOURCE -D_HPUX_SOURCE -D_REENTRANT > > in my Makefile. > > Is there a way to automate

Re: aCC compiler Flags support

2000-11-16 Thread Simon Richter
On Thu, 16 Nov 2000, Tim Heath wrote: > -D_POSIX1C_SOURCE -D_HPUX_SOURCE -D_REENTRANT > Is there a way to automate this with an AM or something? There is, in fact, but these definitions are better placed as "#define"s at the beginning of source files. This way, you can easily tell from the sour