Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-04

Compiling apps from the commandline

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner
to A.J. Venter: I would like to create a script/makefile that will compile lazarus sources straight on…
Show quoted text 12 lines
Hi, I would like to create a script/makefile that will compile lazarus sources straight on the commandline, without starting up the editor. E.G. So people could compile a lazarus program in source form, with only the LCL installed, and no editor. Is this possible ? I have no idea what build arguments/procedures lazarus follows. ppc386 project.lpr fails of course.

cd lcl && make

Will compile the lcl (The IDE does it the same).
Compiling your program:

ppc386 -Fu<lazarusDir>/lcl/units -Fu<lazarusDir>/lcl/units/gtk project.lpr

Mattias

Reply by email

A.J. Venter

Hi,
I would like to create a script/makefile that will compile lazarus sources straight on the commandline, without starting up the editor.

E.G. So people could compile a lazarus program in source form, with only the LCL installed, and no editor.

Is this possible ? I have no idea what build arguments/procedures lazarus follows.

ppc386 project.lpr
fails of course.

A.J.

Story of my life: "Semper in excretum, set alta variant" A.J. Venter DireqLearn Linux Guru

Reply by email