It is currently Wed Sep 18, 2019 11:24 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Missing PBCompiler parameters
PostPosted: Sun Mar 03, 2019 11:28 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Jun 25, 2014 5:25 pm
Posts: 359
Location: Germany
Missing parameters in the PB help:

  • -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

The missing compiler parameters also no longer work under Windows.

Under my Linux:
Code:
$ 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

Under my WindowsXP:
Code:
>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

_________________
Image
Why OpenSource should have a license
PureBasic-CodeArchiv-Rebirth: Git-Repository / Download -- Any help is welcome!
Manjaro Xfce x64 (Main system) :: WindowsXP/Xubuntu x86 (VirtualBox) :: PureBasic (Linux: x86/x64, Windows: x86) :: All are up to date


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye