Re: gawk/cpp Ben Laurie (ben@algroup.co.uk)
Sat, 26 Dec 1998 11:01:21 +0000

shapj@us.ibm.com wrote:
>
> You will need to have gawk. Regrettably, some of the scripts actually use
> GNU-isms (I'm so embarassed).

FreeBSD awk is GNU awk, its just called awk, not gawk. I've got 2.15p5.

> I will, however, set up makefile variables for both gawk and cpp and use
> the variables in preference to the program names. I should have done this
> originally, and I was lazy.
>
> A long time ago I put a bit of thought into the whole build environment
> issue. I concluded that when the need arose I would do
> environment-specific include files that would get pulled into makevars.mk,
> and if absolutely unavoidable into makerules.mk. The general idea was to
> add yet another environment variable EROS_BUILD_HOST and sensitize the
> includes to this variable.
>
> Where does the raw cpp officially live under FreeBSD?

Well, gcc -E does the job for all gccs...

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author     http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache/