Forum > General

Modular Lazarus

(1/4) > >>

Selfmade.exe:
Hello everyone,

This topic might seem a bit odd (given the today's hardware) but I 'll give it a shot:

After recompiling IDE the size on the disk is about 1.30GB!! Without compile is about 1GB.
For me this is kinda ridiculous; It means that I need 1GB+ of software just to write, just say, a simple non gui program.. hmm.. I could produce the same* program with borland 7 for windows that takes no more than 25mb! (* yes I know, ancient staff, no support for modern processors, etc).
But the borland IDE was very straightforward and simple. I know that lazarus has a lot of staff, but it would be nice if I can have an IDE that I can select the components according to my programing needs and functions of IDE that I want (and thus a smaller install size).  UNLESS this can done already. Also a portable option with the config on the same folder would be nice!

RAW:
Hi,
Borland 7 was Windows only or am I wrong? (16 bit ...?)
Years ago I installed a modern Delphi version (I think it was XE5 UPD 2) and that version needed approx. 5 GB disk space.
For non GUI Lazarus is not necessary, I guess you already know that ...  :)
Nowadays nobody cares about 1 GB SSD or HDD space ...


--- Quote ---Also a portable option with the config on the same folder would be nice!
--- End quote ---
A secondary installation has the CFG folder exactly there, but I guess you need to setup some paths manually ... never needed this...
Maybe it's enough to change these files or use a little startup exe file that does all the changes ???

lazarus/lazarus.cfg: --primary-config-path=P:\lazarus\laz_conf
lazarus/environmentoptions.xml: <LazarusDirectory Value="P:\lazarus">
lazarus/laz_config/editoroptions.xml
lazarus/laz_config/environmentoptions.xml
lazarus/laz_config/fpcdefines.xml

I guess starting lazarus from USB is slow  :)
by the way: what about fpcUpDeluxe ... ? Is there an easier way possible ?

Selfmade.exe:

--- Quote ---Borland 7 was Windows only or am I wrong? (16 bit ...?)
--- End quote ---
Borland 7 was for windows 3.1 (!) but run fine through xp, and wayyy better that the atrocity called TurboPascal interface.


--- Quote ---For non GUI Lazarus is not necessary
--- End quote ---
Well I know that I can use notepad too, but IDE is what it is supposed to be: an enviroment for programming, and if you dont have agood enviroment, then if you have second thoughts on starting something,well then you get one more..  :D


--- Quote ---Nowadays nobody cares about 1 GB SSD or HDD space ..
--- End quote ---
Thats why I said that this topic might be odd, but this and the lack of the option to select is frustrating


--- Quote ---A secondary installation has the CFG folder exactly there
--- End quote ---
I know that, but lazarus is the kind of the program that needs the "usual and proper" install on windows. Other programs even after a normal install ( just install in one folder, not appdata or roaming folders) run fine if you just transfer them from one installation to another. They are kinda portable.


--- Quote ---what about fpcUpDeluxe
--- End quote ---
i don't know anything about this..

lucamar:
A small, self-contained, mostly portable install with which to write simple, non-GUI programs?  Install just FPC, without Lazarus.

Depending on your system and what you install you'll need between 40 to 450 MiB(*), and you get, along a modern Object Pascal compiler plus lots of libraries, a multiplatform text-mode IDE very close in operation to the venerable Borland Pascal one.

Difficult to beat, hey? :)

(*) Those 450 MiB are about what a normal Lazarus installs of FPC and why the total is 1 GiB instead of just half that; and it includes 200+ MiB of source code for the rtl, fcl and all the extra "packages".

valdir.marcos:

--- Quote from: Selfmade.exe on June 24, 2019, 01:47:48 am ---Hello everyone,
This topic might seem a bit odd (given the today's hardware) but I 'll give it a shot:
After recompiling IDE the size on the disk is about 1.30GB!! Without compile is about 1GB.
For me this is kinda ridiculous; It means that I need 1GB+ of software just to write, just say, a simple non gui program.. hmm.. I could produce the same* program with borland 7 for windows that takes no more than 25mb! (* yes I know, ancient staff, no support for modern processors, etc).
But the borland IDE was very straightforward and simple. I know that lazarus has a lot of staff, but it would be nice if I can have an IDE that I can select the components according to my programing needs and functions of IDE that I want (and thus a smaller install size).  UNLESS this can done already. Also a portable option with the config on the same folder would be nice!
--- End quote ---
If you mean something similar with old Netbeans versions (see attached image), your idea is good but not feasible for Free Pascal and Lazarus because of many reasons.
https://web.archive.org/web/20170506091836/https://netbeans.org/downloads/index.html

To achieve modularity, Lazarus project would need be greatly reorganized. There are neither human and money resources nor intention for that.

Recompile Free Pascal or making Lazarus cross-compiling easier and intuitive are much more requested and will not be implemented any time soon.

Android and iOS and Web (with pas2js) programming in IDE still need some IDE extra manual adjusts. They are more needed than modularity and are still neither easy nor intuitive for beginners.

Navigation

[0] Message Index

[#] Next page

Go to full version