GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SNOBOL4SETUP(3) CSNOBOL4 Manual SNOBOL4SETUP(3)

snobol4setup - SNOBOL4 Loadable module setup utility

snobol4 setup.sno command

The example program below (canonically called setup.sno) can be invoked (portably across different operating systems) with the following commands:

build
Compiles and links a dynamicly loadable executable file named modulename (with the appropriate extension for the local system). modulename.sno will be created from pre.sno (if it exists), any LOAD() present in comments and any lines starting with *=pea and ending with *=cut in sourcefiles, and finally funcs.sno (if it exists).
install
installs binary, include and man page files.
clean
cleans up.

 
-INCLUDE 'setuputil.sno'
        t = TABLE()
        t['module'] = ' modulename'
        t['sources'] = ' sourcefile.c,othername.c'
        t['author'] = t['maintainer'] = ' Yourname Here'
        t['author_email'] = t['maintainer_email'] = ' name@doma.in'
        t['include_dirs'] = ' list,of,dirs,to,search'
        t['library_dirs'] = ' list,of,dirs,to,search'
        t['libraries'] = ' list,of,library,name,to,link,against'
        t['license'] = 'BSD'
        setup(t)
end

Inspired by Python setuptools, easyinstall, et.al.

Philip L. Budne

Only tested under OS X, FreeBSD, Linux, CYGWIN, MINGW, Visual Studio.

snobol4(1), snopea(1)
January 1, 2015 CSNOBOL4B 2.0

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.