Sign in Join

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

Mailing lists / lazarus / 2011-06

Rebuilding the Lazarus

9 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Tommi Prami

Hello,

If I update my Lazarus from the SVN and then make it, I have slight problems, which now I correct by hand.

Basically it is like this.

If the last project contains components that Make did not compile for me, I need to open or make new clean project (and abort the loading of the previously active project).

Then I have to run the "Build lazarus with profile : ..."

Then I am good to go.

I was pondering that could I do this from the Command-line.

1. Start Lazarus with clean default project (Not loading the previous one)
2. Run the "Build lazarus with profile : ..." command.

If this would be possible the updating the SVN version would be little bit easier.

And is there some command-line reference of Lazarus???

-TP-

Reply by email

Hans-Peter Diettrich
to Tommi Prami
Show quoted text 8 lines
If I update my Lazarus from the SVN and then make it, I have slight problems, which now I correct by hand. Basically it is like this. If the last project contains components that Make did not compile for me, I need to open or make new clean project (and abort the loading of the previously active project).

Currently I have the same problem, with missing or incompatible components used in the current (open) project.

A Lazarus --clean start option would be nice, which doesn't load the previously opened project.

DoDi

Reply by email

Mark Morgan Lloyd
to Tommi Prami: If I update my Lazarus from the SVN and then make it, I have slight problems, which now I…
Tommi Prami wrote 9 lines
If the last project contains components that Make did not compile for me, I need to open or make new clean project (and abort the loading of the previously active project). Then I have to run the "Build lazarus with profile : ..." Then I am good to go. I was pondering that could I do this from the Command-line.

I'm doing this for the SVN component so that I've got it on systems where rebuilding the entire IDE is slow. However, it relies on having a prebuilt makefile, and while this appears to be portable there's obviously scope for problems. I added a cryptic note on http://wiki.lazarus.freepascal.org/LazSVNPkg showing what files are affected.

Show quoted text 7 lines
1. Start Lazarus with clean default project (Not loading the previous one) 2. Run the "Build lazarus with profile : ..." command. If this would be possible the updating the SVN version would be little bit easier. And is there some command-line reference of Lazarus???
Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Vincent Snijders
to Hans-Peter Diettrich: Currently I have the same problem, with missing or incompatible components used in the…

2011/6/28 Hans-Peter Diettrich :

Show quoted text 5 lines
Currently I have the same problem, with missing or incompatible components used in the current (open) project. A Lazarus --clean start option would be nice, which doesn't load the previously opened project.

That is what --skip-last-project is for.

lazarus --skip-last-project doesn't load the previously opened project.

Vincent

Reply by email

waldo kitty
to Hans-Peter Diettrich: Currently I have the same problem, with missing or incompatible components used in the…
Hans-Peter Diettrich wrote 16 lines
Tommi Prami schrieb: > If I update my Lazarus from the SVN and then make it, I have slight problems, > which now I correct by hand. > > Basically it is like this. > > If the last project contains components that Make did not compile for me, I > need to open or make new clean project (and abort the loading of the > previously active project). Currently I have the same problem, with missing or incompatible components used in the current (open) project. A Lazarus --clean start option would be nice, which doesn't load the previously opened project.

i don't know if this is the same thing or not but i turned off the option in laz to open last project... i think i was running into some of what is discussed above but that was a few weeks ago until i turned off this option...

Reply by email

Max Vlasov
to Tommi Prami: If I update my Lazarus from the SVN and then make it, I have slight problems, which now I…
Tommi Prami wrote 6 lines
If the last project contains components that Make did not compile for me, I need to open or make new clean project (and abort the loading of the previously active project). Then I have to run the "Build lazarus with profile : ..."

Just wondering, does consecutive

make
make idepkg

from command line
equivalent to these actions?
It seems it worked for me, but I suppose there are nuances.

Max

Reply by email

Tommi Prami
to Max Vlasov
Max Vlasov wrote 18 lines
On Tue, Jun 28, 2011 at 10:25 AM, Tommi Prami wrote: > If the last project contains components that Make did not compile for me, I > need to open or make new clean project (and abort the loading of the > previously active project). > > Then I have to run the "Build lazarus with profile : ..." > Just wondering, does consecutive make make idepkg from command line equivalent to these actions? It seems it worked for me, but I suppose there are nuances. Max

Might work.

But Iseem to need to build Lazarus with Clean+Build to get WinCE working. So I might need to modify the makefile somehow, but I really don't know...

-TP-

Reply by email

Max Vlasov
to Tommi Prami
Tommi Prami wrote 28 lines
On 29.6.2011 12:03, Max Vlasov wrote: > > On Tue, Jun 28, 2011 at 10:25 AM, Tommi Prami > ?wrote: >> >> If the last project contains components that Make did not compile for me, >> I >> need to open or make new clean project (and abort the loading of the >> previously active project). >> >> Then I have to run the "Build lazarus with profile : ..." >> > Just wondering, does consecutive > > ? make > ? make idepkg > > from command line > equivalent to these actions? > It seems it worked for me, but I suppose there are nuances. > > Max > Might work. But Iseem to need to build Lazarus with Clean+Build to get WinCE working. So I might need to modify the makefile somehow, but I really don't know...

make clean all
make idepkg

Will it work?

Max

Reply by email