Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

how to create small DJGPP binaries? (Developers)

posted by Arjay, 12.01.2013, 12:43

> There is a page on the djgpp site that describes how to make the
> executables smaller:
> http://www.delorie.com/djgpp/v2faq/faq8_14.html
The first answer explains that debugging information is included by default.
(It is not recommended to strip the symbols except when distributing production programs, because this makes debugging very hard indeed; that is why -s is not passed to gcc by default.)

Why? I'm sorry DJ, but I fail to see why that is a good idea due to human nature in the sense that humans are on the whole fairly lazy. Personally I think it is better to EXCLUDE unnecessary data unless needed. Another good example are Excel files, 3 worksheets are created by default. Why? If you deleted the unnecessary worksheets the files are a lot smaller. Sometimes I wonder if there are shares being handed out by disk drive companies to well known software people to help ensure the storage of more empty space. Excel 95/97 (can't remember which) if you created a brand new blank file and then went to the very last cell on a pressed space then pressed backspace then save, you ended up with a huge spreadsheet as it saved "lots" of empty space.

 

Complete thread:

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