[fpc-pascal] How to compile Lazarus program using only FPC?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Sep 24 15:59:20 CEST 2015


On 2015-09-24 14:48, Bo Berglund wrote:
> Does FPC recognize the Lazarus project file such that paths etc are
> observed?

No, FPC knows nothing about Lazarus project files. In Lazarus IDE you
can go to Project Options, and then click on the "Show Options" button
and the bottom of that dialog.  Copy and paste that into a shell script
which you can then run.

You would obviously have to adjust some paths.

Maximus IDE and MSEide makes this slightly easier than Lazarus. They
both have a similar "show options" button, but don't use "packages". So
the results they generate include every single Unit Path and Include
Path and other compiler settings you need to compile your project.


Regards,
  - Graeme -

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

My public PGP key:  http://tinyurl.com/graeme-pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maximus.png
Type: image/png
Size: 24572 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150924/e625a0af/attachment.png>


More information about the fpc-pascal mailing list