Sign in Join

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

Mailing lists / lazarus / 2010-11

Make option for specific package

9 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Vincent Snijders
to Andrew Brunner

2010/11/18 Andrew Brunner :

I was wondering how I can "make" Lazarus build with specific packages. Right now I need lazdaemon installed in the ide when I use make clean bigide.

Try make idepkg, e.g.

make clean all
make idepkg

Vincent

Reply by email

Mattias Gaertner
to Vincent Snijders
Show quoted text 9 lines
2010/11/18 Andrew Brunner : > I was wondering how I can "make" Lazarus build with specific packages. > Right now I need lazdaemon installed in the ide when I use make clean > bigide. Try make idepkg, e.g. make clean all make idepkg

This will not update the packages.
Try:

make clean all
./lazbuild --build-ide=

Mattias

Reply by email

Graeme Geldenhuys
to Mattias Gaertner

Op 2010-11-18 18:50, Mattias Gaertner het geskryf:

Show quoted text 8 lines
> make clean all > make idepkg This will not update the packages. Try: make clean all ./lazbuild --build-ide=

Another classic example of why makefiles are such a terrible idea. Why not simply create a GUI and/or Console app that lists the options (maybe even copy the "Tools > Build Lazarus" dialog. This tool must a able to compile with 'fpc buildtool.pas'. The users can then simply run the tool, select the option they want, and it fires off the correct build command with it's 110 parameter choices. Hide the complexities of Makefile - they are a terrible idea under all circumstances.

Regards,
- Graeme -

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

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 18 lines
Op 2010-11-18 18:50, Mattias Gaertner het geskryf: >> make clean all >> make idepkg > > This will not update the packages. > Try: > > make clean all > ./lazbuild --build-ide= Another classic example of why makefiles are such a terrible idea. Why not simply create a GUI and/or Console app that lists the options (maybe even copy the "Tools > Build Lazarus" dialog. This tool must a able to compile with 'fpc buildtool.pas'. The users can then simply run the tool, select the option they want, and it fires off the correct build command with it's 110 parameter choices. Hide the complexities of Makefile - they are a terrible idea under all circumstances.

He asked for command line compilation of Lazarus including his own packages. So no gui, but lazbuild.
To compile lazbuild you need make. A 'make clean all' is pretty standard.
And lazbuild -h gives you the options.

Mattias

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt: we're working on the fpmake/fppkg tool to do just that. Michael.

Op 2010-11-19 11:35, Michael Van Canneyt het geskryf:

we're working on the fpmake/fppkg tool to do just that.

OK. I suggested that same idea to a Lazarus Team developer that emailed me in private ? use fpmake instead of makefiles. So I was on the right track.

Regards,
- Graeme -

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

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys: Op 2010-11-18 18:50, Mattias Gaertner het geskryf: Another classic example of why…
Graeme Geldenhuys wrote 18 lines
Op 2010-11-18 18:50, Mattias Gaertner het geskryf: >> make clean all >> make idepkg > > This will not update the packages. > Try: > > make clean all > ./lazbuild --build-ide= Another classic example of why makefiles are such a terrible idea. Why not simply create a GUI and/or Console app that lists the options (maybe even copy the "Tools > Build Lazarus" dialog. This tool must a able to compile with 'fpc buildtool.pas'. The users can then simply run the tool, select the option they want, and it fires off the correct build command with it's 110 parameter choices. Hide the complexities of Makefile - they are a terrible idea under all circumstances.

we're working on the fpmake/fppkg tool to do just that.

Michael.

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys: Op 2010-11-19 11:35, Michael Van Canneyt het geskryf: OK. I suggested that same idea to a…
Graeme Geldenhuys wrote 6 lines
Op 2010-11-19 11:35, Michael Van Canneyt het geskryf: > > we're working on the fpmake/fppkg tool to do just that. OK. I suggested that same idea to a Lazarus Team developer that emailed me in private ? use fpmake instead of makefiles. So I was on the right track.

Joost is apparently making nice progress converting all FPC makefiles to use the fpmake/fppkg tool.

Michael.

Reply by email