[fpc-pascal] Free Pascal Directories

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Fri Oct 3 22:18:00 CEST 2014


On 2014-10-02 18:21, Brian wrote:
> Is there any way to tell the compiler to just link existing .ppu and .o
> files ?

Yes. In the case of fpGUI (as as an example), the <fpgui>/src/build.bat
or build.sh builds the fpGUI framework and places the compiled units in
a library output directory <fpgui>/lib/<fpctarget>

The examples/demos of fpGUI doesn't recompile the fpGUI framework, it
simply uses the *.ppu and *.o files located in the 'lib/<target>/'
directory. See the extrafpc.cfg files in the demo directories.

Here is a snippet:

  -FUunits
  -Fu../../../lib/$fpctarget


Not the -Fu doesn't reference the <fpgui>/src/ directory, but rather the
lib directory.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/



More information about the fpc-pascal mailing list