[Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jun 2 22:31:57 CEST 2011
On Thu, 2 Jun 2011 16:59:55 -0300
Marcos Douglas <md at delfire.net> wrote:
> On Thu, Jun 2, 2011 at 3:54 PM, Marcos Douglas <md at delfire.net> wrote:
> > On Thu, Jun 2, 2011 at 3:44 PM, Mattias Gaertner
> > <nc-gaertnma at netcologne.de> wrote:
> >>
> >> "make bigide" compiles an IDE with lots of packages. This is used by
> >> the installers you find on the website too.
> >>
> >> It is enough to do
> >>
> >> make bigideclean all bigide
> >>
> >>
> >>> On Windows, to compile Lazarus at the first time, I use:
> >>> make clean all OPT="-glw2"
> >>>
> >>> What is the correct?
> >>
> >> All of them.
> >
> > So, for the first compilation I can use:
> > make clean all OPT="-glw2"
> >
> > But to update Lazarus, I can use a BAT with:
> > make bigideclean all bigide
> > (in root Lazarus directory)
> >
> > Is that correct?
> > Because I prefer compile Lazarus with a script instead use the IDE.
>
> OK. I changed my script[1] (Windows) to compile Lazarus.
> Before, I used it to make a new Lazarus, but to update it I always
> used the Build menu command on the IDE.
> Now I can update it with the script:
>
> @echo on
> set myroot=c:\freepascal
> set myFPC=%myroot%\compiler\2.4.5
> set mybinutils=%myroot%\binutils
> set PATH=%mybinutils%\i386-win32;%myFPC%\bin\i386-win32
>
> cd ide\laz\0.9.30
>
> lazbuild --build-all --recursive --build-ide=
> --primary-config-path=%myroot%\ide\laz\config\
>
> Everything works!
> --
> But... do not exists many ways to do the same task?
> make ...
> bigide...
> lazbuild...
>
> Do not is better have an only way to do this?
"make" is a tool.
Calling "make" is a shortcut for "make all".
"all" is one target of our Makefile. It builds the basic set of
packages and tools. "default" or "base" would be better names, but this
has historical reasons and comes closer to what people from other open
source projects using make expect.
"bigide" is another target of our Makefile. It builds an IDE with a
predefined set of packages. This is needed for the windows installer,
debian, redhat and carbon packages. You probably never need it.
There is currently no make target to build an IDE with the user set of
packages, so you have to call lazbuild directly. The problem is that
this requires information from outside the lazarus sources, so it
requires configuration.
Maybe a target can be added to call "all" and then lazbuild. But this
won't work for multiple installations.
Mattias
More information about the Lazarus
mailing list