Missing PBCompiler parameters
Posted: Sun Mar 03, 2019 11:28 am
Missing parameters in the PB help:
Under my Linux:
Under my WindowsXP:
- -ls, --liststructures
Creates a file with all the structures - -lf, --listfunctions
Creates a file with all the functions - -li, --listinterface
Creates a file with all the interfaces - -lp, --listpath
Set the output path for the above lists commands - -qs, --querystructure <name>
Creates a file with the definition - -ds, --debugsymbols
Add standard debug symbols to executable
Under my Linux:
Code: Select all
$ pbcompiler --help
USAGE: pbcompiler <sourcefile>
OPTIONS:
-c, --commented Produce commented asm output (purebasic.asm)
-d, --debugger Enable debugger
-t, --thread Enable threadsafe support
-e, --executable <file> Create executable to <file>
-i, --import <file> Create import file to <file>
-r, --resident <file> Create resident file to <file>
-ir, --ignoreresident <file>
Ignore the given resident <file>
-q, --quiet Display only error on the standard output
-sb, --standby Starts compiler in standby mode (remote control)
-pf, --purifier Enable purifier
-ls, --liststructures Creates a file with all the structures
-lf, --listfunctions Creates a file with all the functions
-li, --listinterfaces Creates a file with all the interfaces
-lp, --listpath Set the output path for the above lists commands
-qs, --querystructure <name>
Creates a file with the definition
-s, --subsystem <name> Uses the specified subsystem
-so, --sharedobject <file>
Create a dynamic library (shared object)
-dc, --dynamiccpu Create a executable with all processor specific routines
-mmx, -3dnow, -sse, -sse2
Create a processor specific executable
-l, --linenumbering Enable line numbering support for OnError
-o, --constant Name=Value
Declare a new constant at compile time
-g, --language Set the language of the compiler error messages
-ds, --debugsymbols Add standard debug symbols to executable
-k, --check Check the syntax only, doesn't create/launch the executable
-pp, --preprocess <file>
Creates a single file with all macros expanded and all sources files included
-v, --version Display the compiler version
Code: Select all
>pbcompiler.exe --help
PBCompiler "Filename"
Command switches:
--------
/DEBUGGER: Enable the debugger
/EXE "Filename": Create an executable to the given filename
/DLL: Create a DLL
/CONSOLE: Create a console executable
/ICON "Filename": Add an icon to the executable
/RESOURCE "Filename": Add a resource file (.rc) to the executable
/QUIET: Disable all unnecessary textoutput
/COMMENTED: Produce a commented asm output (PureBasic.asm)
/REASM: Compile the 'PureBasic.asm' file to an executable
/XP: Add the Windows XP theme support to the executable
/DPIAWARE: Enable DPI support to the executable
/USER: Add the 'User' hint to the executable (Windows Vista)
/ADMINISTRATOR: Add the 'Administrator' hint to the executable (Windows Vista and above)
/IMPORT "Filename": Create a import file to the given filename
/RESIDENT "Filename": Create a resident file to the given filename
/IGNORERESIDENT "Filename": ignore the given resident
/LINENUMBERING: Enable line numbering in the final executable for OnError
/STANDBY: Wait for external commands (editor, scripts...)
/MMX, /3DNOW, /SSE or /SSE2: Create a processor specific executable
/DYNAMICCPU: Create a executable containing all processor specific routines
/THREAD: Use thread safe runtime for strings and general routines
/PURIFIER: Enable the purifier
/SUBSYSTEM "Name": Use this subsystem to replace a set of internal functions
/CONSTANT Name=Value: Declare a new constant at compile time
/LINKER "ResponsFile": Specify a commands file to be passed to the linker
/CHECK: Check the syntax only, doesn't create/launch the executable
/PREPROCESS "Filename": Creates a single file with all macros expanded and all sources files included
/LANGUAGE "Language": Uses the specified language for the compiler
/VERSION: Display the version of the compiler