Sign in Join
Wiki copytemporary

Lazarus Manager: what changed

Revision 3 to 4. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11## Introduction
22
33This program is made to have latest news of lazarus/fpc development, because install everyday the daily snapshot is a little bit laborious.
44
55You can edit and improve Lazarus Manager sending me your feedback, maybe I will release the source code in future, but now I prefer to develop it myself.
66
77Finally, these scripts are for who doesn't want waste time on installations/configurations, but wants to develop on quick time ("end-users", not "developers of the development system").
88
99**NOTE**: Lazarus Manager is made by Kjow and are **not supported by the FPC/Lazarus team**. This is occasionally updated to *latest revision*, but there may be problems with *last minute* SVN changes (so, it might not work with the *last minute* version).
1010
1111**NOTE 2**: Before Lazarus Manager, there were four scripts (2 for windows and 2 for Linux). These are obsolete. They don't work anymore due changes in Lazarus/FPC source and Windows/Linux structure. **Don't ask for these, they don't exist anymore.**
1212
1313## Windows
1414
1515Lazarus Manager is a sort of "one-click" installation that permit to install Lazarus/FPC svn without anything else. It downloads all the necessary (svn client, utils, binutils, Lazarus branches/trunk svn, FPC branches/trunk svn), makes the directories structure and builds everything for also cross-compile for arm android/linux.
1616
1717From Windows (with android ndk, if required) it build:\
1818
1919* Lazarus branch with targets:
2020
2121- - i386-win32
2222 - X86_64-win64
2323
2424*Lazarus trunk with targets:
2525
2626- - i386-win32
2727 - X86_64-win64
2828 - arm-android
2929 - arm-linux
3030
3131### First Installation
3232
3333Lazarus Manager has some controls to check if something fails (e.g. android ndk path not found), anyway before start you should know something and set some little things.
3434
3535Lazarus Manager saves latest settings used in **./config.ini**:
3636
3737- Drive
3838- Path
3939- Branches svn url
4040- Trunk svn url
4141- Android ndk paths
4242
4343The usage of Lazarus Manager is intuitive, so in first tab you will find base file urls.
4444
4545If you want to make shortcuts to desktop check the flag in left-bottom corner.
4646
4747![](/wiki-images/f/fb/Pre-Installation.png)
4848
49-**`NOTE`**`: If you choose to select "One click installation" (recommended), buttons `**`"Generate Directory Structure"`**` and `**`"Start Necessaries Download"`**` are `*[[disabled]]*` and the installation process will do all the work for you.`
49+```text
50+NOTE: If you choose to select "One click installation" (recommended), buttons "Generate Directory Structure" and "Start Necessaries Download" are disabled and the installation process will do all the work for you.
51+```
5052
5153In "Stable Tree" tab there are the svn urls (you can change with newer revision when they will came out) and targets:
5254
5355![](/wiki-images/e/e0/Stable-Tree.png)
5456
5557If you need to cross-compile Lazarus app for Android, you need to download and extract the NDK in your hard disk, then you had to save two paths:
5658
5759- arm-linux-androideabi
5860- binutils
5961
6062E.g. if you use Windows X64 (I tested on Windows 8.1 X64), download and initialize Android NDK for Windows X64. So, if you have version r9 of ndk the requested paths will be:
6163
6264- C:\Android\android-ndk-r9\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\arm-linux-androideabi\bin
6365- C:\Android\android-ndk-r9\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\bin
6466
6567![](/wiki-images/5/5a/Trunk-Tree.png)
6668
6769In "Install/Update" tab you can do the first installation or just update actual installation:
6870
6971![](/wiki-images/c/cb/Install-Update.png)
7072
7173### Update
7274
7375In the end, if you want automatize update process you can make a link (or batch file) to LazarusManager.exe to put in Windows auto-start directory, or just launch it when necessary. An example of this link is supplied in zip file.\
7476
7577LazarusManager accepts three parameters:
7678
7779- First parameter
7880 - **autoupdate** (it indicates that Lazarus should be updated automatically to latest svn, without interactions)
7981
8082* Second parameter
8183
8284- - **both** (it updates **both** branch and trunk trees)
8385 - **branch** (it updates **branch** tree)
8486 - **trunk** (it updates **trunk** tree)
8587
8688* Third parameter (**NOTE: i386-win32 target is always included**)
8789
8890- - **all** (it updates **all** targets)
8991 - **x64b** (it updates **x86_64-win64 branch** target)
9092 - **x64t** (it updates **x86_64-win64 trunk** target)
9193 - **andarm** (it updates **arm-android trunk** target)
9294 - **linarm** (it updates **arm-linux trunk** target)
9395
9496Example 1:
9597
96-`LazarusManager.exe autoupdate both all`
98+```text
99+LazarusManager.exe autoupdate both all
100+```
97101
98102Example 2:
99103
100-`LazarusManager.exe autoupdate branch x64b`
104+```text
105+LazarusManager.exe autoupdate branch x64b
106+```
101107
102108Wrong combinations are ignored, e.g.
103109
104-`LazarusManager.exe autoupdate branch andarm`
110+```text
111+LazarusManager.exe autoupdate branch andarm
112+```
105113
106114### Directory structure
107115
108116![](/wiki-images/c/c6/Directories.png)
109117
110118### How to start Lazarus
111119
112120Lazarus Manager will create in lazarus branch/trunk roots a shortcuts that make start Lazarus with config dir inside the same root instead of Windows user directory, so you can have how many installations you want.
113121
114122To start Lazarus go to Lazarus root (branch or trunk) and double click on **Lazarus_B_Develop** for branch or **Lazarus_T_Develop** for trunk (**NOTE**: "Develop" is the general installation root, if you change it on install phase, it will be name as you choose).
115123
116124### Configure first Lazarus launch
117125
118126Here it is an example of generic "first run", you need to use correct paths to ensure the right functionality.
119127
120128![](/wiki-images/b/b1/Config.png)
121129
122130**NOTE**: remember to edit Tools -\> IDE Options -\> Environment to set paths concording the installation:
123131
124132![](/wiki-images/2/26/IDE_Options_Environment.png)
125133
126134## Download
127135
128136The link below is dead\
129137You can download Lazarus Manager from [here](http://www.kjow.net/lazarus-utilities/).
130138
131139## Extra Info
132140
133141- Lazarus Manager will save in the root you choose to install Lazarus a log.txt file with the entry **last** process made (e.g. First Installation, Update, etc).
134142
135143- In log form or in log.txt, at the end of installation there il a reminder of which paths you need to add at the Windows **System PATH**, e.g.:
136144
137-`...`\
138-`...`\
139-`...`\
140-`********************`\
141-`To complete the installation, please add these paths to System PATH:`\
142-`C:\Develop\fpc\Bootstrap;C:\Develop\fpc\Binutils;C:\Develop\fpc\Utils\bin\i386-win32;C:\Program Files\SlikSvn\bin\;C:\Develop\fpc\fpc_2.6.x\bin\i386-win32;C:\Develop\fpc\fpctrunk\bin\i386-win32`\
143-`********************`
145+``` pascal
146+...
147+...
148+...
149+********************
150+To complete the installation, please add these paths to System PATH:
151+C:\Develop\fpc\Bootstrap;C:\Develop\fpc\Binutils;C:\Develop\fpc\Utils\bin\i386-win32;C:\Program Files\SlikSvn\bin\;C:\Develop\fpc\fpc_2.6.x\bin\i386-win32;C:\Develop\fpc\fpctrunk\bin\i386-win32
152+********************
153+```
144154
145155## See also
146156
147157- [[Installing Lazarus]] Official way to install Lazarus
148158- [[fpcup]] Another tool that installs/updates FPC+Lazarus for you.
149159- [[fpcupdeluxe]] Yet another tool that installs/updates FPC+Lazarus for you.
150160
151161## Credit
152162
153163Kjow 01:00, 10 January 2014 (CET)\
154164Latest Revision: Kjow 15:49, 10 January 2014 (CET)
155165
156166---
157167*From the Free Pascal wiki, page "Lazarus Manager", as it stood on 2020-01-03 after a change by Bart, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*
158168Category: Lazarus

Back to history