Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-09

Linux and Strip

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

matt shaffer

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. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090905/d89e4d3b/attachment.html>

Reply by email

GrizzlyFrancis Smit
to matt shaffer
matt shaffer wrote 10 lines
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

Reply by email

GrizzlyFrancis Smit
to GrizzlyFrancis Smit
Grizzly wrote 17 lines
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

Reply by email

matt shaffer
to GrizzlyFrancis Smit

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

Grizzly wrote 27 lines
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 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090905/3a6693d7/attachment-0001.html>

Reply by email