Reference Manual
Using TailBite
TailBite.exe <filename> <tempfile> /Options
filename : filename of source code. Can be empty when started from the PB-IDE and sourcecode has not been saved.
tempfile : filename of temporary source code saved by the IDE. (Only useful when started from the PB-IDE)
Command line options:
- /PREF "Filename"
Path and Filename to a TailBite preference file.
- /VERS
Returns the TailBite version
- /LOGF
A logfile is generated in the temp folder.
Hint : you can find it here : C:\Documents and settings\[Username]\Local settings\temp\TailBite_Logfile.txt
- /ASKD
Prompt confirm on deletion of previous library with the same name: TailBite will ask you before deleting an existing library with the same name.
- /DONT
Don't build library, only source files: only the ASM files and .Desc file will be created.
- /KEEP
Keep source files after making the library: the intermediate ASM files used to build the library will be copied to the 'Asm source files' folder below. By default, they are deleted.
- /QUIE
Hide TailBite window: the TailBite window won't be shown when calling TailBite, so you won't see the status text nor you'll be able to cancel the process, so it's not recommended to use this option.
- /WRIT
Generate build batch file: TailBite will generate a batch file in the library source folder to allow fast rebuilding which, anyway, you can do more easyly with TailBite itself (processing the .Desc file).
- /HELP
Opens the manual.
- /HWND<Windowhandle to PBIDE>
Not used anymore.
- /CHM:<Name of helpfile>
The name of the helpfile without extension .chm (supresses the inputrequester)
- /THRD
The library will be THREADSAFE compiled
- /UCOD
The library will be UNICODE compiled
- /MULT
The library will be MultiLib compiled (please see the MultiLib page for important information)
UNICODE / THREADSAFE / UNICODE + THREADSAFE all in one lib file !
- /OUTP "Path"
The compiled library will be saved into the supplied path.
- /LIBN:<Name>
Uses the supplied name instead of the sourcename
- /SUBS:<Subsystem>
Path to subsystem folder (starting from SubSystems).
Note : when a library exists with the same name in PureLibraries\UserLibraries\ it will be renamed and moved into temp folder (TB_LIBNAME_12345678) and copied back later !
Commandline examples:
TailBite.exe "c:\Programme\PureBasic410\Examples\PurePDF\Source\PurePDF.pb"
TailBite.exe "c:\Programme\PureBasic410\Examples\PurePDF\Source\PurePDF.pb" /KEEP /WRIT
TailBite.exe "c:\Programme\PureBasic410\Examples\PurePDF\Source\PurePDF.pb" /THRD /UCOD /SUBS:SubSystems\UserLibUnicodeThreadSafe\PureLibraries\UserLibraries\
TailBite.exe "c:\Programme\PureBasic410\Examples\PurePDF\Source\PurePDF.pb" /CHM:PurePDF /THRD /UCOD /SUBS:SubSystems\UserLibUnicodeThreadSafe\PureLibraries\UserLibraries\