Message-ID: <372ADFC7.D9D67D4A@mbox2.singnet.com.sg> Date: Sat, 01 May 1999 19:04:39 +0800 From: "| õ¿õ | õ¿õ | õ¿õ | õ¿õ |" X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Too big code References: <7ei8dv$28fo$1 AT ns DOT felk DOT cvut DOT cz> <370cf5d4 DOT 0 AT energise DOT enta DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com I know that this email may be a bit old. But i have some question to ask u. Hoped that u can help. is there any other option beside -s ??? where can i find information abt other complier option?? James Bunting wrote: > You could try the -s compiler option. If you are using RHIDE it is simply a > matter of going to "Options/Compiler Options" and typing in "-s" (no > quotes). This should reduce the size of your executable. > > Michal Strelec wrote in message > news:7ei8dv$28fo$1 AT ns DOT felk DOT cvut DOT cz... > > 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 > > > >