Sender: nate AT cartsys DOT com Message-ID: <360C3C5E.4EB9888F@cartsys.com> Date: Fri, 25 Sep 1998 17:59:10 -0700 From: Nate Eldredge MIME-Version: 1.0 To: "Renato F. Cantao" CC: djgpp AT delorie DOT com Subject: Re: References: <199809241212 DOT JAA05401 AT labma07 DOT ime DOT unicamp DOT br> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk Renato F. Cantao wrote: > > Hi Friends! > > I'm new in the DJGPP business, but it seems to me that most of you > work in game implementation (in fact, that's how I discovered DJGPP). > But, I work with numerical algorithms, and that means that I'm > *VERY* interested in execution SPEED and BIG memory allocation. > I'm currently using Borland C++ 4.5, Borland C++Builder 1.0 and > DJGPP and my first performance tests show almost no difference among them (at > least in the SPEED test). Naturally all available optimizations (BC++ 4.5 > and BC Builder) are set to speed up the executable. In DJGPP I'm using > only the -O3 switch. > So the questions are: > > 1. How can obtain the FASTEST code compiling with DJGPP (the best > optimizations options) ? The canonical answer: Try various combinations and profile to see their effect. See also FAQ section 14.2 for some suggestions. > 2. Does anybody know about some more extensive test? I mean, > something that includes, loops, sorting, disk access, memory access and > so. The profiler will show you some of this. See FAQ chapter 13 for info on using it. There is also a code coverage tool that's part of GCC (`gcov') but I don't know if anyone has ported it to DJGPP. > 3. Sorry guys, but I have to use Win95. That's almost the ONLY > available plataform in my university (sic...). Is it possible to link the > *.o files produced with DJGPP in Win95 applications??? You can use RSXNTDJ; see FAQ section 3.6. Beware that it may not be easy to make work with GCC 2.8.x. However, you can still run DJGPP apps in a DOS box on Windows; will that not suit? -- Nate Eldredge nate AT cartsys DOT com