Subject: Re: Question regarding the libc library.
To: Shankar Agarwal <>
From: Martin Husemann <>
List: tech-userlevel
Date: 07/19/2001 11:34:45
> I was looking for the snapshot of the make options for nsparser.y and
> nslexer.l files. I am trying to port these to sparc64. Also i wanted to
> see what are the options for the Netbsd kernel for these files.

Sorry, I can't parse that.

I just build all of usr/src/lib on NetBSD/sparc64, so what are you porting
where to? What has the kernel got to do with this?

The "snapshot" you are looking for are the commands invoked by make?

On -current that is:

 > make nsparser.o nslexer.o
yacc  -p_nsyy -d -o nsparser.c /usr/src/lib/libc/net/nsparser.y
cc -O -pipe -DALL_STATE -DUSG_COMPAT  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized   -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS  -D_REENTRANT -I/usr/src/lib/libc/include -DINET6 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DWITH_RUNE -DRUNEMOD_MAJOR=3  -D_PATH_LOCALEMODULE=\"/usr/lib/runemodule\" -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -c nsparser.c
lex  -P_nsyy -t /usr/src/lib/libc/net/nslexer.l | sed -e '/YY_BUF_SIZE/s/16384/1024/' >nslexer.c
cc -O -pipe -DALL_STATE -DUSG_COMPAT  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized   -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS  -D_REENTRANT -I/usr/src/lib/libc/include -DINET6 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -DWITH_RUNE -DRUNEMOD_MAJOR=3  -D_PATH_LOCALEMODULE=\"/usr/lib/runemodule\" -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -c nslexer.c