[fpc-devel] Missing command line parameters in Linux FPC

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Mar 16 08:44:17 CET 2010


I looked at the FPC 2.4.1 output of the 'fpc -h' command and couldn't see
any reference to the -W<x> parameter.

Under Linux the following information is missing, yet this information is
displayed in the Windows version of FPC.

  -W<x>  Target-specific options (targets)
      -Wb        Create a bundle instead of a library (Darwin)
      -WB        Create a relocatable image (Windows)
      -WC        Specify console type application (EMX, OS/2, Windows)
      -WD        Use DEFFILE to export functions of DLL or EXE (Windows)
      -We        Use external resources (Darwin)
      -WF        Specify full-screen type application (EMX, OS/2)
      -WG        Specify graphic type application (EMX, OS/2, Windows)
      -Wi        Use internal resources (Darwin)
      -WN        Do not generate relocation code, needed for debugging
      -WR        Generate relocation code (Windows)
      -WX        Enable executable stack (Linux)

I know most of these options are not related to Linux (though there is one
option now), I still think it's appropriate to output this information with
the Linux FPC executable, because most FPC projects are cross-platform, so
it is handy to see all available help for all platforms.

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-devel mailing list