Date: Wed, 17 May 2000 15:29:37 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Norberto Alfredo Bensa cc: djgpp AT delorie DOT com Subject: Re: rebuilding libc... In-Reply-To: <20000517095824.2717.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 17 May 2000, Norberto Alfredo Bensa wrote: > > > o What are the best compiler options when rebuilding the standard > > > libraries if I'm using a pentium II? > > > > It depends on the version of Binutils that you have installed. What > > does "as --version" print? > > > here it is. I compiled it my self.... > > GNU assembler 2.9.5 Then I think you should use the original gcc.opt from djlsr203.zip. With Binutils 2.9.5.1, available from DJGPP sites, you could try higher alignment options (-malign-loops=4 -malign-loops=4 -malign-jumps=4), but I don't think your version of Binutils will support this correctly. You could play with -mpentium instead of -m486, but I doubt if that will yield significant differences. Anyway, it only makes sense to try to rebuild the library with more optimizations if you have evidence that some library functions consume a significant portion of the run time. The profiler should show this. Even if some function does need to be optimized, it is better to compile only that function with different optimization switches.