delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/11/12:33:28

From: Bjorn De Meyer <bgdmeyer AT eduserv2 DOT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: PGCC
Date: Fri, 11 Sep 1998 18:04:32 +0200
Organization: University of Ghent, Belgium
Lines: 70
Message-ID: <Pine.GSO.3.96.980911174820.3315A-100000@eduserv2.rug.ac.be>
References: <6t3fta$ieu$4 AT news2 DOT saix DOT net>
NNTP-Posting-Host: eduserv2.rug.ac.be
Mime-Version: 1.0
In-Reply-To: <6t3fta$ieu$4@news2.saix.net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Tue, 8 Sep 1998, Rylan wrote:

> Hi,
> 
> Small unofficial survey: how many people here use PGCC? I tried it a while
> ago and some of one of my stdlib functions (i used my old GCC compiled libc
> with the PGCC GCC compile) did not work right (clrscr()) - My question - if
> this does not work what else does PGCC affect? I took a look at the PGCC
> page, but I want an independant opinion - should I get it and how much of a
> real improvement does it offer? I tried it with a PGCC recompiled Allegro
> lib, and I did not see much of a marked acceleration - or did I just
> probably test it incorrectly / insuffieciently to notice them?


Hi. I have been using PGCC for compiling both C and C++ for several months
now, and I haven't had much problems. I also compiled Allegro with PGCC,
wich gave me an average of +-5% speedup in general for my Allegro
programs. If i compile my programs themselves with the -mpentium -O6 
options I get an additional 5% to 10% speedup. (the speedup was measured
by an increase in framerates, this might be somewhat imprecise, althoug an
increase from 60 FPS to 80 FPS in one of the programs seems very
significant.) IIRC you must get the libc sources and recompile them, at
least for some versions of the libc library. You should check the readme
files of the PGCC compiler for more info. Also, it seems that the C++ PGCC
is better than the normal version, although i have no means of comarison
as I replaced the standard DJGPP c++.    

> 
> Can I fix problems (such as with clrscr()) by using a PGCC compiled libc
> with a PGCC GCC instead of GCC libc with PGCC GCC? ClrScr() still cleared
> the screen, but left the top line of text onscreen when I called it from
> PGCC compiled programs.
>

Well, I never encountered this problem, but then again, i hardly use
clrscr. (I use WAZOO for text mode and ALLEGRO for the graphics stuff)
I think you'll have to grab the libc sources and recompile with PGCC, but 
you might need to manually patch the crt0.s file, please read the Pgcc
readme, i don't remember clearly. Anyhow, I hope this helps you. PGCC is
in my honest opinion really worth the effort of getting it to work!
 
> Please reply by mail if at all possible.
> 
> Fanx!
> 
> --
> Spawned By Rylan
> Is truth beauty or beauty truth?
> 
> 
> 
> 

Bjorn De Meyer.
IA #i^4
Homepage: http//studwww.rug.ac.be/~bgdmeyer
E-mail: bjorn DOT demeyer AT rug DOT ac DOT be 
Chemistry student at RUG, option polymers.
Coordinator of the "Tales of Artah: First Sword" CRPG project.         
  
 "I've shaven. I'm happy. I have no religion. Don't pray for me." 
                                                Illusion of Gaia 2
         
                                   

        
              
                                   
            

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019