Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
35 user(s) are online (27 user(s) are browsing Forums)

Members: 0
Guests: 35

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
Why the big filesizes for OS4 software?
Just popping in
Just popping in


See User information
I just checked out the filesize of SabreMSN and Wookiechat.
1.4MB and 1.7MB

Aren't these filesizes just huge? I mean the programs uses
alot of other libraries for functions.. So how come they become
so big?

Btw this is nothing against Jahc, almost every software for OS4
has huge filesizes.

Is this because GCC creates unoptimized code or what?

Best Regards,

Harry

[SOLD] ?A1-C, 512MB, Antec Aria
Go to top
Re: Why the big filesizes for OS4 software?
Not too shy to talk
Not too shy to talk


See User information
@samwel

I almost released SabreMSN with a compressor that would reduce the filesize to 350k or so.. but I didnt for some reason. Dunno why (or why not). :)

Go to top
Re: Why the big filesizes for OS4 software?
Home away from home
Home away from home


See User information
@samwel

I think that mostly it because of statically linked librarys and not stripping info. But in general, 700kb or 1700kb today make no sense absolutly.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Why the big filesizes for OS4 software?
Just popping in
Just popping in


See User information
@samwel

Could it be a PPC (reduced instruction set) versus 68k (complex instruction set) issue rather than an OS4 issue?

Go to top
Re: Why the big filesizes for OS4 software?
Amigans Defender
Amigans Defender


See User information

i'm really tired...
Go to top
Re: Why the big filesizes for OS4 software?
Just can't stay away
Just can't stay away


See User information
oh man. talking about small potatoes like 1.5mb. its like taking a picture with a camera. come on....

Go to top
Re: Why the big filesizes for OS4 software?
Just can't stay away
Just can't stay away


See User information
@samwel
I just D/L the latest WGet and the OS3 binary is 3 times the size (1.4MB) of the OS4 binary (0.4MB) which is even stranger in my view.

Go to top
Re: Why the big filesizes for OS4 software?
Amigans Defender
Amigans Defender


See User information
@xenic

maybe is not stripped or maybe os4 is using shared libraries but 68k exe are always smaller than ppc one

i'm really tired...
Go to top
Re: Why the big filesizes for OS4 software?
Home away from home
Home away from home


See User information
@samwel

I don't see that sizes as a problem. Since we now have 512++mb ram,big hds etc.

Was more important when we had 3,5" discs.

X5000
Go to top
Re: Why the big filesizes for OS4 software?
Just popping in
Just popping in


See User information
@xenic

Quote:
I just D/L the latest WGet and the OS3 binary is 3 times the size (1.4MB) of the OS4 binary (0.4MB) which is even stranger in my view.


There are three binaries:

1) "wget" (m68k) 1.401Kb statically linked using OpenSSL 1.0.0a

2) "wget-NoSSL" (m68k) 336Kb

3) "wget-OS4" 455Kb dynamically linked using AmiSSL.

all of them are stripped.

Go to top
Re: Why the big filesizes for OS4 software?
Just can't stay away
Just can't stay away


See User information
Non-stripped files can help authors of software to find and fix bugs more easily (GR can display the name of the crashed function).

Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: Why the big filesizes for OS4 software?
Not too shy to talk
Not too shy to talk


See User information
As it was said, a bigger file size can be due to :
- static libs
- debug stuff (no strip done)
I think the PPC instruction set and the ELF format is minor.
In any cases, today there is absolutely nothing shocking about a 1.5 MB exe.

Go to top
Re: Why the big filesizes for OS4 software?
Home away from home
Home away from home


See User information
@TSK

Quote:

TSK wrote:
Non-stripped files can help authors of software to find and fix bugs more easily (GR can display the name of the crashed function).


It's not necessary to leave the debug info in released binaries. All you need to do is keep one copy with the debug symbols on your own hard-drive, and strip the binary that you release. See this page on my website for details.

The one caveat is that people sending you bug reports need to tell you what version they are using, or you won't be able to match debug logs to their corresponding debug file.

Hans

P.S. C++ users can reduce the size of their binary significantly by using the shared-object version of the C++ runtime library instead of statically linking all that streams stuff.

EDIT: Linked to the wrong page. Fixed.


Edited by Hans on 2010/7/14 22:31:09
Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: Why the big filesizes for OS4 software?
Amigans Defender
Amigans Defender


See User information
@Hans

Quote:

P.S. C++ users can reduce the size of their binary significantly by using the shared-object version of the C++ runtime library instead of statically linking all that streams stuff.

It is better to avoid this Hans, since our libstdc++.so has a lot of problems.. if you link your program with static library all problems gone away.. i'll remove the .so every time i install a compiler..

i'm really tired...
Go to top
Re: Why the big filesizes for OS4 software?
Just can't stay away
Just can't stay away


See User information
@diegocr
Quote:

There are three binaries:

1) "wget" (m68k) 1.401Kb statically linked using OpenSSL 1.0.0a

2) "wget-NoSSL" (m68k) 336Kb

3) "wget-OS4" 455Kb dynamically linked using AmiSSL.

all of them are stripped.


You're right, I should have looked closer. 455kb (for OS4) compared to 336kb (for OS3) is about right. Amiga shared libraries were (and still are) a good idea. With some OS's (and now Amiga it appears), the exact same code is duplicated in multiple programs. Even though SO libs take up less disk space, a copy is loaded into memory for each program using them.

Go to top
Re: Why the big filesizes for OS4 software?
Home away from home
Home away from home


See User information
@Hans Quote:
P.S. C++ users can reduce the size of their binary significantly by using the shared-object version of the C++ runtime library instead of statically linking all that streams stuff.

This will stop your software working on OS4.0 . But given the file-size improvements, it is very tempting! That C++ run-time is huuuge.

Author of the PortablE programming language.
Go to top
Re: Why the big filesizes for OS4 software?
Home away from home
Home away from home


See User information
@ChrisH

Can you give any real point today, to use OS4.0 ? Why not 3.9 then ? We all know how buggy os4.0 all in all. Just cant understand for what need to support it.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Why the big filesizes for OS4 software?
Just popping in
Just popping in


See User information
@kas1e

I suppose some want to support classic OS4 users.

But IMO this hinders use of the more advanced features
of later AmigaOS versions. But then again this has always
been the case with every OS. The difference being that
other OS'es users encourages use of new features and
thus making the users upgrade to new OS versions.
Amigans (especially classic users) on the other hand seems
to hate progress and want to use the same OS version
forever, complaining about this and that program not
working for their OS version.

I think it's sad really. So few users should be able to buy
two OS versions in four years IMO.
I also can't understand users that still use classic Amigas
with OS4, upgrade to a cheaper SAM for god sake.
IMO of course
Simply stop supporting OS4.0 & require OS4.1. Then users
will have to upgrade.

Best Regards,

Harry

[SOLD] ?A1-C, 512MB, Antec Aria
Go to top
Re: Why the big filesizes for OS4 software?
Home away from home
Home away from home


See User information
@samwel
I just think that there are very few classic amiga users, who _really_ use OS. Because almost everything released in last time (which are interesting) always want normal computer, and not 200mhz cpu.

But yep, that is imho only about support of classic users (dunno make it sense today or not)

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: Why the big filesizes for OS4 software?
Just popping in
Just popping in


See User information
@kas1e

As an example I have read that Joerg (OWB OS4 author) seems
to support OS4.0. He has been reluctant at using later features
of OS4.1. Dunno why really? Maybe this is not the case anymore?

Best Regards,

Harry

[SOLD] ?A1-C, 512MB, Antec Aria
Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 2 ( 0 members and 2 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project