[Lazarus] Linux and Strip

matt shaffer dazappa.matt at gmail.com
Sat Sep 5 16:34:41 CEST 2009


Yeah I have /usr/bin/strip; I thought that the strip was Lazarus / FPC -
specific. Guess not. Anyway, running that on my app leaves it at 2.7mb still
so I guess that's as small as it's going to get. Thanks for the info

On Sat, Sep 5, 2009 at 10:01 AM, Grizzly(Francis Smit)
<grizzly at smit.id.au>wrote:

> Grizzly(Francis Smit) wrote:
> > matt shaffer wrote:
> >
> >> Is there a strip program for Linux? Well I'm using Ubuntu and
> >> installed 9.26-4 from the repositories, and having no idea where
> >> everything installed to I just did a search of my entire drive for
> >> "strip". The only program found was in a non-FPC specific directory
> >> and using it had no effect on the size of my app. The app is compiled
> >> for GTK2, and is smaller than the default windows binary (11mb vs
> >> 2.7mb), but the Windows binary can be stripped to 1.3mb. While size
> >> isn't everything, I'm just wondering if ~3mb for a very simplistic, 1
> >> form app seems right on Linux (in regards to Lazarus apps) as I've
> >> never dealt with developing apps for it before.
> >>
> > it should be /usr/bin/strip but you probably haven't got it installed so
> > install it first
> >
> >
> u need to install binutils to get strip
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20090905/3a6693d7/attachment-0004.html>


More information about the Lazarus mailing list