onetrueawk / awk

One true awk
Other
1.98k stars 159 forks source link

build assumes C compiler is gcc #176

Closed emaste closed 9 months ago

emaste commented 1 year ago

Trying to build out of the box on FreeBSD results in:

$ make
gcc -g -Wall -pedantic -Wcast-qual  -O2 -c awkgram.tab.c -o awkgram.tab.o
make: exec(gcc) failed (No such file or directory)
*** Error code 1
plan9 commented 1 year ago

you're right, bsd-features makefile is not correct for typical out of the box freebsd. it has bison, gcc etc. as defaults. i'll clean that up.