[lazarus] compiling lazarus in linux. Error while linking

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Feb 10 08:19:38 EST 2003


On Mon, 10 Feb 2003 02:05:53 +0300
Roman Shiryaev <mih_val at mail.ru> wrote:

> ÷ ÓÏÏÂÝÅÎÉÉ ÏÔ 10 æÅ×ÒÁÌØ 2003 01:08 Marc Weustink ÎÁÐÉÓÁÌ:
> 
> > it is looking for libX11.so  (the option -l@@@ means look for
> > lib@@@.so) It is generally provided by the devel-package of
> > the package which provided lib@@@.so.x.y
> >
> > In your case the XFree86-devel package must be installed
> > (assuming you are using XFree86). If you don't want to install
> > the devel-package, creating a symlink libX11.so ->
> > libX11.so.x.y will mostly work.
> 
> And the last question - what about size of compiled binary? 
> I have the following:
> 
> [rmn at localhost lazaruslinux]$ file lazarus; ls -ls
> lazarus: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), 
> dynamically linked (uses shared libs), stripped
> total 3540
> 3540 -rwxr-xr-x    1 rmn      rmn       3619720 æÅ× 10 01:52 lazarus*
> 
> So, with `stripping` i've ~3540k.  Is it normal or it may be smaller? 
> Just it's interesting for me :)

Yes, it's normal.
Currently the LCL, synedit, codetools and some design stuff is compiled in,
which will eventually become libraries.


Mattias






More information about the Lazarus mailing list