netlcc - convert netl configuration files into netl modules / gcc front end for netl modules
netlcc [gcc options] netl.conf
PLEASE NOTE: the netl compiler is still somewhat experimental. you
are encouraged to use it to generate netl modules which you then
modify by hand.
netlcc takes a netl configuration file and converts it into a
netl module, which can be loaded dynamically. the advantage to a
netl module is that it is compiled code and therefore theoretically
faster. any .conf files are given to netl (8) to generate a .c file.
this .c file is then compiled using gcc (1) , with any other options
that have been passed to the command line. by default, a .so (shared
object file) is generated, which can be copied into the netl modules
directory.
for more information on the netl configuration format, see
netl.conf (5) .
for more information on netl modules, see netl_module (1) .
for more information on netl in general, see netl (8) .
netlcc grabs two options, if seen, and passes the rest to gcc when it
reaches the compile stage. therefore all the options you would expect to
work for a compiler such as -c or -O2 should work with netlcc .
-generate-c
generate c code and stop. this is handy, if you want to hand
optimize the module generated from your configuration file.
-install
once the module has been compiled successfully, this option will
direct netlcc to install it in the correct place so that netl (8)
can find it. this option only works when compiling modules from
configuration files.
netl (8) , netl.conf (5) , netlcc (1) , netl_install (1) ,
netl_module (1) , neta (1) , hwpassive (8) , hwlookup (1) ,
dcp (1) and xd (1)
there are almost certainly bugs, please report them to me. send bugs and
bug fixes to netl@netl.org. the netl home page is at
http://www.netl.org,which should contain up to date information on
netl .
i have attempted to write pretty readable documentation, however, i'm not
really the best technically writer. if you are, maybe we could
colaborate?
Copyright 1996, 1997, 1999 Graham THE Ollis
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139, USA.
Graham THE Ollis You can contact the netl team at netl@netl.org.
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
BUGS
COPYING
AUTHOR
Contact Information
1999 CORE software international