| delorie.com/archives/browse.cgi | search |
| From: | "Michal Strelec" <strelec AT adam DOT osu DOT cz> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Too big code |
| Date: | Thu, 8 Apr 1999 14:43:20 +0200 |
| Organization: | Czech Technical University |
| Lines: | 18 |
| Message-ID: | <7ei8dv$28fo$1@ns.felk.cvut.cz> |
| NNTP-Posting-Host: | ix161.osu.cz |
| X-Newsreader: | Microsoft Outlook Express 4.72.3110.5 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi I have a question: I tried to compile with dj small programs (classical Hello.c) and output file hello.exe was BIG (130kB). Hello.c uses (I suppose) standart lib libgcc.a. Next I tried to compile it with bc3.1 and output file was SMALL (6kB). Next I have found in gnu archieve (gpcXX.zip) I took libgcc.a and overwrite the previous one. After compilation file was 70kB. Can you tell me how to minimize size of the output code? I use only few standard functions. PS: I also found that BC has small libraries. But it has strange names and I don't know what functions are included. Thanx Michal
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |