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

waldo kitty wkitty42 at windstream.net
Thu Sep 24 17:02:50 CEST 2015


On 09/24/2015 10:03 AM, Marco van de Voort wrote:
> In our previous episode, Graeme Geldenhuys said:
>> 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.
>
> Lazarus has lazbuild to simply compile a project from the commandline.

but you have to have lazarus which is not available for all environments...

eg: OS/2

-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.



More information about the fpc-pascal mailing list