This might be a silly question, but I finally got a Dreamcast application compiled which uses my (admittedly very large) game library. With all the excess symbols stripped the final elf/bin files are just over 2M in size!
What size are Dreamcast executables normally?
Is a 2M executable ... unusual?
-
- Insane DCEmu
- Posts: 145
- https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
- Joined: Tue May 02, 2017 3:11 pm
- Has thanked: 3 times
- Been thanked: 34 times
- BlueCrab
- The Crabby Overlord
- Posts: 5652
- Joined: Mon May 27, 2002 11:31 am
- Location: Sailing the Skies of Arcadia
- Has thanked: 9 times
- Been thanked: 69 times
- Contact:
Re: Is a 2M executable ... unusual?
For something in C++ with a fairly large library being linked in, 2MiB doesn't seem out of the realm of possibilities. It'd probably be on the large size of things I've seen, but not necessarily overly so.
Re: Is a 2M executable ... unusual?
I wrote a project from the ground up without Kos and newlib that creates executables in the kilobyte range.
Even that became quite fat (1mb?) when I used GCC 6. So disabling certain features, standard library, debugging, runtime checks should go a long way.
Even that became quite fat (1mb?) when I used GCC 6. So disabling certain features, standard library, debugging, runtime checks should go a long way.
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream