Recent

Author Topic: ENORMOUS executables  (Read 51364 times)

antonio

  • Hero Member
  • *****
  • Posts: 605
ENORMOUS executables
« Reply #45 on: July 10, 2007, 01:49:00 am »
500Kb for a compiled program, not for an interpreted script.

When Delphi came out, people said the same: Oh, 200Kb with nothing on the form... E-mail accounts have 10MB of space... Today I sent a 4.5MB size file through MSN...

If you can't do it, try my Lazarus File Splitter on http://br.geocities.com/antoniog123456/

VBRUN.DLL has 400Kb. I hope Lazarus team can make larger executables, to compensate this space saving... So I can make an impression on my customers with big size files... I'm even thinking about announcing a bounty for it...

Larger executables...

Chen

  • Newbie
  • Posts: 4
ENORMOUS executables
« Reply #46 on: July 10, 2007, 02:14:22 am »
Quote from: "antonio"
500Kb for a compiled program, not for an interpreted script.


Im talking about exe files....  :wink:

The applications Ive created are executables no scripts! PureBasic is a
compiled language.....  create the smallest executables I have seen...
no need of DLL's or external libraries....  distribute your exe file..... only

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
ENORMOUS executables
« Reply #47 on: July 10, 2007, 09:05:00 am »
Of course we could give up hundreds of features and make a super small executable, but that's not our goal. A hello world lazarus software includes almost everything a real world app will need, like:

    *  XML handling library
    * Image handling library for png, xpm, bmp and ico files
    * Almost all widgets from the Lazarus Component Library
    * All of the Free Pascal Runtime Library

http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F

By the way, this Basic is a comercial product. Lazarus is free software.

Also, please don't revive old topics (more then 6 months since last post).

thanks,

Chen

  • Newbie
  • Posts: 4
ENORMOUS executables
« Reply #48 on: July 10, 2007, 02:51:25 pm »
Quote from: "sekel"
Of course we could give up hundreds of features and make a super small executable, but that's not our goal. A hello world lazarus software includes almost everything a real world app will need, like:

    *  XML handling library
    * Image handling library for png, xpm, bmp and ico files
    * Almost all widgets from the Lazarus Component Library
    * All of the Free Pascal Runtime Library

http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F

By the way, this Basic is a comercial product. Lazarus is free software.



Im not promoting anything.... and it seems you didnt grasp what I said ...
and of course before post I read most of the topics about the exe size...

Quote

Also, please don't revive old topics (more then 6 months since last post).

thanks,


if this is the way here.....  I'll do it!!  :oops:

Legolas

  • Full Member
  • ***
  • Posts: 117
    • http://itaprogaming.free.fr
ENORMOUS executables
« Reply #49 on: July 10, 2007, 03:23:23 pm »
My question is: is purebasic a crosscompiler? I mean, can it generate eg. linux executables from windows compiler?

Chen

  • Newbie
  • Posts: 4
ENORMOUS executables
« Reply #50 on: July 10, 2007, 03:37:36 pm »
Quote from: "Legolas"
My question is: is purebasic a crosscompiler? I mean, can it generate eg. linux executables from windows compiler?


NO, is not....

You need to install Purebasic in Windows, Linux, Mac....
The code is the same but you need to compile your apps in each platform...

For example...  I develop in Windows and when my app is ready I move my
source code to Linux and compile....

Of course there are features in Lazarus that are great... my only comment was
about exe sizes(not complain)... because for me there is no reason to have in
my Lazarus exe libraries I dont need..  but maybe Im wrong!

antonio

  • Hero Member
  • *****
  • Posts: 605
ENORMOUS executables
« Reply #51 on: July 10, 2007, 07:23:35 pm »
Lazarus is an open source project which is near to reach the majority and all technical issues are being directed. You can trust on the future of the project and port your applications to it, if you want so.

BTW, I prefer IBM tools.
http://www-304.ibm.com/jct03004c/businesscenter/smb/us/en/

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
ENORMOUS executables
« Reply #52 on: July 12, 2007, 09:25:27 am »
If you guys are so concerned about sizes, why don't you dig into the sources and start figuring it out? That is, if you already figured the right compiler switches to get them minimal already...

Opensource isn't about you whining and us fixing you know...

Also, I get roughly 20kb binaries for hello world (console) programs, and ~1mb for empty form programs. I don't really see the problem with that. Delphi isn't all that smaller anymore and they contain absolutely no ballast (no abstraction layer).

If your binary is 5kb, it uses an external dll extensively. ldd file.bin and paste here to see. Try ldding a fpc console program for a change.

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
ENORMOUS executables
« Reply #53 on: July 12, 2007, 10:57:42 am »
Quote from: "Almindor2"
If your binary is 5kb, it uses an external dll extensively. ldd file.bin and paste here to see. Try ldding a fpc console program for a change.


I second that!

Without the output of ldd executable, just knowing the size means nothing.

antonio

  • Hero Member
  • *****
  • Posts: 605
ENORMOUS executables
« Reply #54 on: July 12, 2007, 06:28:27 pm »
If you are capable of identifying a problem, probably you are the best person to solve it.

Almindor

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
ENORMOUS executables
« Reply #55 on: July 12, 2007, 07:24:05 pm »
What's your point Mr. IBM salesperson?

antonio

  • Hero Member
  • *****
  • Posts: 605
ENORMOUS executables
« Reply #56 on: July 12, 2007, 08:06:48 pm »
LOL. I don't sell IBM, IBM sells me: http://www.youtube.com/watch?v=QOlrKH3SmtI

 

TinyPortal © 2005-2018