faq | docs | tutorials | guide | reference | contact | home  

FGL LIBRARIAN

The FGL librarian is part of the freely provided FifthGen Engine and is used to create binary FGL libraries for use with standalone applications and Active Pages. It is invoked directly from the command line or from within your program editor (TextPad) or properly configured IDE. The default installation places the librarian, SLIB.EXE, in the c:\fgl directory and adds this directory to the system path.

The librarian provides advanced options for the creation and maintenance of complex binary libraries. It can quickly combine object code into a single optimized library, or it can be used to remove and/or replace individual classes and functions from existing libraries.

FGL libraries provide an efficient and secure method to distribute FGL code and to group common functions and classes. The FifthGen Server includes the ability to pre-load FGL libraries for extremely efficient generation of dynamic content

	 
SLANG (tm) Librarian   v2.0 Build 72
Copyright (c) 1996-2006 by Fifth Generation Systems, Inc., All Rights Reserved

usage: slib [/QUIET] [-]<libfile>[.FLB] [[+-]<inFile>[.FGX|.FLB] ...]
Syntax:    /QUIET               does not echo warnings and errors to the console

           [-]<libfile>[.FLB]   specifies the base name of the library to create.
                                if the "-" parameter is specified, will not overwrite
                                any existing library file of this name, but will 
                                delete and replace all corresponding functions and 
                                classes contained in the specified object source.
                                  
           [[+-]<inFile>[.FGX|.FLB] ...] optionally specifies additional object
                                code to add or remove (+/-) from the specified 
                                library.
   


Examples:  slib common
           slib -common +common +myfuncs
Sample Output:    

C:\fgl\libs\src>slib -fglwebsite +fglwebsite
SLANG (tm) Librarian   v2.0 Build 72
Copyright (c) 1996-2006 by Fifth Generation Systems, Inc., All Rights Reserved

Procedures   = 15
Classes      = 1

Library Size = 10967

See also:   Compiler | Linker | Librarian | Console | Debugger | Profiler | Project | Editor | IDE

#####