Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Free Pascal questions | 2.2.2 minimal test (Developers)

posted by DOS386, 18.10.2008, 03:13

> committed this last night. Initially the IDE reads CHMs now. Moreover it
> was pretty unintrusive, so it can be merged to the stable branch

Well, some impressions of FPC 2.2.2:

+++ Ways better than 2.0.4, installer, IDE and compiler do mostly work now :-)

- Still complains about LFN
- Bloat problem (see below)
- UPX license violation (???)
- Watcom and PIC support (???)

About bloat: there are 2 subproblems, output bloat (seems there are ways to reduce it, see DUPLICIT thread), and own bloat. Own bloat is incredibly easy to fix, I just for fun:

- Extracted all ZIP's at both levels
- Tried to un-UPX all EXE's, bad luck, many of them use UPX 2.93 (intended for testing only, not public redistribution) and don't uncompress :-(
- Deleted redundant languages (isn't English sufficient for a "base" package), non-DOS specific examples, and, of course, UPX :clap:
- Brewed a new solid 7-ZIP archive with dict size 4 or 8 MiB (so install won't need more memory than using)

Results:

Original   : 17 MiB
dict 4 MiB :  9 MiB
dict 8 MiB :  7 MiB


So the bloat can be reduced by factor 2 by just dumb rearrangements :clap:

My suggestion for next version:

- Don't use or include UPX, keep all EXE's not UPX'ed
- Make all inner ZIP's uncompressed AKA Store
- Use 7-ZIP solid LZMA to archive the package

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 307 users online (0 registered, 307 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum