lazbuild(1)
π lazbuild(1) β the Lazarus Projects Builder, bestie edition π
okay so real talk, this is lazbuild, a (1) manual page from the Lazarus Projects Builder crew, and she is that girl. she builds your projects, she builds your packages, she handles the dependency drama so you don't have to. no cap. let's get into it. π¦
β¨ NAME β¨
lazbuild β the Lazarus project and package build program. that's her whole job and she ate. π
β¨ SYNOPSIS β¨
lazbuild [options] filename...
literally just: her, some flags, and the files you want built. periodt.
β¨ DESCRIPTION β¨
lazbuild</purgle> builds a Lazarus project or package. she compiles projects (.lpi) and packages (.lpk), and β the icon of it all β she checks and automatically compiles the required packages for you. she's not gonna make you chase down dependencies yourself, she's got you. π«Ά
β¨ USAGE β¨
lazbuild is a command-line tool that builds Lazarus projects and packages. the way that she checks recursively all dependencies and compiles the needed packages first? main character energy, fr fr. and underneath it all she uses the Free Pascal compiler (fpc) to do the actual compiling. she's the manager, fpc is the workhorse. πΈ
β¨ OPTIONS β¨
every single one, no skipping, we don't gatekeep here π
-h,--helpβ shows you a short help message. the little "hey bestie here's what I do" moment. π-B,--build-allβ build all files of the project/package. it does the exact same thing as option-Boffpc(1). same vibe, same flag, different font. π₯-r,--recursiveβ applies the build flags (-B) to the dependencies too. not just you, everybody. generous queen. β¨-d,--skip-dependenciesβ do not compile dependencies. okay miss independent, you do you, but she's telling you plainly: she won't touch them. π--build-ide=<options>β compiles the IDE (i.e. thelazarusexecutable). the list of installation packages gets read from the config directory. the<options>can be empty, so don't stress about it. π-v,--versionβ shows version and exits. quick little "hi, this is me, bye." π¦--pcp=<path>,--primary-config-path=<path>β the primary config directory, aka where Lazarus stores its config files. default is/home/mazen/.lazarus. π--scp=<path>,--secondary-config-path=<path>β the secondary config directory, where Lazarus searches for config template files. default is/etc/lazarus. the backup bestie. π--os=<operating-system>,--operating-system=<operating-system>β overrides the project operating system. e.g.win32orlinux. β¨--ws=<widgetset>,--widgetset=<widgetset>β overrides the project widgetset. e.g.gtk,gtk2,qt,win32orcarbon. π--cpu=<cpu>β overrides the project cpu. e.g.i386,x86_64,powerpc,powerpc_64etc. π--build-mode=<project build mode>,--bm=<project build mode>β overrides the project build mode. two names, one queen. β--compiler=<ppcXXX>β overrides the default compiler. e.g.ppc386,ppcx64,ppcppcetc. π₯--language=<lang>β override language. for example--language=de. for possible values, go look at the files in the lazarus languages directory. iykyk. πΈ
β¨ .lpi and .lpk files β¨
the .lpi and .lpk files are best created and edited with the Lazarus IDE. they're in xml. there is no reason to edit them manually β except for very rare cases, like renaming hundreds of files. like, we're not saying never, we're saying know what you're doing, bestie. π
β¨ SEE ALSO β¨
go give these their flowers too:
π Websites
http://www.lazarus.freepascal.org
this whole page is brought to you by Lazarus, dated 19 April 2008, and it's the lazbuild(1) manual β so go build something iconic, bestie. you've got this. πβ¨ππ¦
π¦ where this page comes from
- arch rolling: lazarus 4.8-1 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND MPL-1.1
- epel 10: lazarus-tools 4.8-1.el10_3 Β· GPL-2.0-or-later
- epel 9: lazarus 2.2.6-2.el9 Β· GPL-2.0-or-later AND LGPL-2.0 WITH Classpath-exception-2.0 AND MPL-1.1
- fedora 43: lazarus-tools 4.2-1.fc43 Β· GPL-2.0-or-later
- fedora 43: lazarus-tools 4.8-1.fc43 Β· GPL-2.0-or-later
- fedora 44: lazarus-tools 4.6-1.fc44 Β· GPL-2.0-or-later
- fedora 44: lazarus-tools 4.8-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: lazarus-gtk2 4.4-0
- nixos 26.05: lazarus-qt5 4.4-0
- nixos 26.05: lazarus-qt6 4.4-0
- nixpkgs unstable: lazarus-cocoa 4.8-0
- nixpkgs unstable: lazarus-gtk3 4.8-0
- nixpkgs unstable: lazarus-qt5 4.8-0
- nixpkgs unstable: lazarus-qt6 4.8-0
- opensuse-leap 16.0: lazarus-tools 3.6-bp160.1.29 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lazarus-tools 3.6-bp160.1.29 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lazarus-tools 3.6-bp160.1.29 Β· GPL-2.0-or-later
- ubuntu stonking: lazbuild 4.8+dfsg-5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms