Sign in Join

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

Mailing lists / lazarus / 2012-04

Changes of make, part II

3 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 build Lazarus from scratch you now have three
choices:

1. "make clean all"
This builds a default IDE with minimal packages.

2. "make clean bigide"
This builds a default IDE with some extra packages.

3. "make clean lazbuild useride"
This is equivalent to
make clean lazbuild
./lazbuild --build-ide=
It builds an IDE with your current profile and your set of installed packages.

Updating:
After updating svn you can use the IDE (or lazbuild) to rebuild the IDE and lazbuild.
The IDE (or lazbuild) will automatically clean up, which usually works in 99%. If this fails, use the "clean" command in the configure build lazarus dialog. If this fails use the "make" commands above. And always have a backup of a good lazarus.exe.
Note: lazbuild is a normal project (ide/lazbuild.lpi). To rebuild lazbuild open the project and compile it.

Mattias

Reply by email

Marcos Douglas
to Mattias Gaertner
Mattias Gaertner wrote 11 lines
[...] 3. "make clean lazbuild useride" This is equivalent to make clean lazbuild ./lazbuild --build-ide= It builds an IDE with your current profile and your set of installed packages. [...]

Very good the explanation!

I have a doubt:
How this command knows my current profile?
When I boot the Lazarus I use the pcp= parameter to the IDE to know where is the configurations.
Can I use the same?

Marcos Douglas

Reply by email

Mattias Gaertner
to Marcos Douglas
Show quoted text 21 lines
On Tue, Apr 10, 2012 at 5:26 PM, Mattias Gaertner wrote: > > [...] > > 3. "make clean lazbuild useride" > This is equivalent to > make clean lazbuild > ./lazbuild --build-ide= > It builds an IDE with your current profile and your set of installed > packages. > > [...] Very good the explanation! I have a doubt: How this command knows my current profile? When I boot the Lazarus I use the pcp= parameter to the IDE to know where is the configurations. Can I use the same?

Your current profile is at the default place.
If you want to use another profile, then you can use

make clean lazbuild
./lazbuild --pcp=path --build-ide=

Mattias

Reply by email