delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/29/02:37:04

Mime-Version: 1.0
To: Peter Palotas <blizzar AT hem1 DOT passagen DOT se>
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: Profiling problem with GCC 2.8
Cc: djgpp AT delorie DOT com
Date: Tue, 28 Apr 1998 20:38:00 -0700
Message-ID: <19980429033703.AAN3301@ppp104.cartsys.com>

At 12:02  4/28/1998 -0400, Peter Palotas wrote:
>At 20.23 1998-04-26 -0700, you wrote:
>>As a quick-and-dirty fix, you can copy %DJDIR%/lib/libc.a to
>>%DJDIR%/lib/libc_p.a, or get a profiling library from Tom Demmer's patch
>>site and install it as libc_p.a. (This would have the addition of letting
>>you get profiling info on library functions.)
>
>That sounds as a good solution... Now I'm just wondering... Where can I get
>this patch? (I've looked for it but I couldn't find it)

Hmm... I cannot find the URL for the site just now. Check the archives. I
think you could look for anything sent to `djgpp-announce' by Tom Demmer in
the last year or so.

However, as Tom pointed out, they were built with GCC 2.7.2.x. I don't see
any reason why the basic profiling scheme in 2.8.x should be different, so I
would be inclined to go ahead and try the existing prebuilt library. I
suspect it will be obvious if it doesn't work. If not, you will have to
rebuild libc if you want this functionality. That is a non-trivial task, but
I have some tips and patches if you really want to do it.


Nate Eldredge
nate AT cartsys DOT com



- Raw text -


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