Re: ifdefs in syscalls.master

Tobias Nygren <[email protected]>
Newsgroups gmane.os.netbsd.help
Message-ID <[email protected]>
netbsd wrote:
> hello.
>
> i'm new to NetBSD, and am taking a look at the sources, with 
> particular interest in syscalls.
>
> i found the file syscalls.master.  it has a number of ifdefs, such as:
> #ifdef COMPAT_43
> #if defined(KTRACE) || !defined(_KERNEL)
> #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
> ..
> how do i find out what the settings are for a "standard" build?  i am 
> in particular interested in the settings for an ARM build.
>
> thanks!
>
>  - sam -

The major options like COMPAT_*, NFSSERVER, KTRACE
are defined (or commented out) in the kernel configuration file,
/usr/src/sys/arch/*/conf/GENERIC.

Hope this helps,

-Tobias
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.