Sign in Join
Wiki copytemporary

Lazarus Manager: what changed

Revision 2 to 3. 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
4949**`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.`
5050
5151In "Stable Tree" tab there are the svn urls (you can change with newer revision when they will came out) and targets:
5252
5353![](/wiki-images/e/e0/Stable-Tree.png)
5454
5555If 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:
5656
5757- arm-linux-androideabi
5858- binutils
5959
6060E.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:
6161
6262- C:\Android\android-ndk-r9\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\arm-linux-androideabi\bin
6363- C:\Android\android-ndk-r9\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\bin
6464
6565![](/wiki-images/5/5a/Trunk-Tree.png)
6666
6767In "Install/Update" tab you can do the first installation or just update actual installation:
6868
6969![](/wiki-images/c/cb/Install-Update.png)
7070
7171### Update
7272
7373In 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.\
7474
7575LazarusManager accepts three parameters:
7676
7777- First parameter
7878 - **autoupdate** (it indicates that Lazarus should be updated automatically to latest svn, without interactions)
7979
8080* Second parameter
8181
8282- - **both** (it updates **both** branch and trunk trees)
8383 - **branch** (it updates **branch** tree)
8484 - **trunk** (it updates **trunk** tree)
8585
8686* Third parameter (**NOTE: i386-win32 target is always included**)
8787
8888- - **all** (it updates **all** targets)
8989 - **x64b** (it updates **x86_64-win64 branch** target)
9090 - **x64t** (it updates **x86_64-win64 trunk** target)
9191 - **andarm** (it updates **arm-android trunk** target)
9292 - **linarm** (it updates **arm-linux trunk** target)
9393
9494Example 1:
9595
9696`LazarusManager.exe autoupdate both all`
9797
9898Example 2:
9999
100100`LazarusManager.exe autoupdate branch x64b`
101101
102102Wrong combinations are ignored, e.g.
103103
104104`LazarusManager.exe autoupdate branch andarm`
105105
106106### Directory structure
107107
108108![](/wiki-images/c/c6/Directories.png)
109109
110110### How to start Lazarus
111111
112112Lazarus 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.
113113
114114To 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).
115115
116116### Configure first Lazarus launch
117117
118118Here it is an example of generic "first run", you need to use correct paths to ensure the right functionality.
119119
120-<img src="Config.png" title="Configuration (click to zoom)" width="800" />
120+![](/wiki-images/b/b1/Config.png)
121121
122122**NOTE**: remember to edit Tools -\> IDE Options -\> Environment to set paths concording the installation:
123123
124124![](/wiki-images/2/26/IDE_Options_Environment.png)
125125
126126## Download
127127
128128The link below is dead\
129129You can download Lazarus Manager from [here](http://www.kjow.net/lazarus-utilities/).
130130
131131## Extra Info
132132
133133- 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).
134134
135135- 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.:
136136
137137`...`\
138138`...`\
139139`...`\
140140`********************`\
141141`To complete the installation, please add these paths to System PATH:`\
142142`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`\
143143`********************`
144144
145145## See also
146146
147147- [[Installing Lazarus]] Official way to install Lazarus
148148- [[fpcup]] Another tool that installs/updates FPC+Lazarus for you.
149149- [[fpcupdeluxe]] Yet another tool that installs/updates FPC+Lazarus for you.
150150
151151## Credit
152152
153153Kjow 01:00, 10 January 2014 (CET)\
154154Latest Revision: Kjow 15:49, 10 January 2014 (CET)
155155
156156---
157157*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).*
158158Category: Lazarus

Back to history