www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/09/23:00:25

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Message-ID: <3C65EDB7.4098CC7@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Alignment problem
References: <3c63f21f DOT sandmann AT clio DOT rice DOT edu> <3C645F1D DOT C26E8F64 AT yahoo DOT com> <3c64b7cf DOT sandmann AT clio DOT rice DOT edu> <3C650C18 DOT B45F67D4 AT yahoo DOT com> <4331-Sat09Feb2002145741+0200-eliz AT is DOT elta DOT co DOT il> <3C655E12 DOT 6F8D351E AT yahoo DOT com> <200202091859 DOT g19Ixam19704 AT envy DOT delorie DOT com> <3C6586A1 DOT C3AE5AC3 AT yahoo DOT com> <200202092259 DOT g19MxQP21308 AT envy DOT delorie DOT com>
Lines: 41
Date: Sun, 10 Feb 2002 03:52:16 GMT
NNTP-Posting-Host: 12.90.173.53
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1013313136 12.90.173.53 (Sun, 10 Feb 2002 03:52:16 GMT)
NNTP-Posting-Date: Sun, 10 Feb 2002 03:52:16 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

DJ Delorie wrote:
> 
> Make sure malloc.c is including xmalloc.h from the libc source, not
> some other xmalloc, and that it has access to <libc/malloc.h>.

Now what is this?  There is no xmalloc.h reference in the malloc
source?  There is no xmalloc.h on my system.
> 
> > Should I be using gstabs+, gstabs, or g?
> 
> I think what you want is -pg, not -gp.

As I read the info, to get detailed line by line data you had to
compile with debug info. So please answer the question again. See
below

> 
> If you compile any module with -pg, you need to link with -pg also.
> 
> > I assume that if malloc is linked before the library search the
> > library version will be omitted?
> 
> Yes.

Would you please go back to my previous post and answer the
specific questions, which I requote below:

"however the same command seems to function if I eliminate the -W
-Wall -ansi -pedantic -gstabs+ default flags by using *gcc.  What
do I really need?  Obviously the only portion that needs profiling
is the malloc.c content, and that should be as detailed as
possible. Should I be using gstabs+, gstabs, or g?  The other
modules are compiled with the defaults above.  Does that matter?"


-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   (Remove "XXXX" from reply address. yahoo works unmodified)
   mailto:uce AT ftc DOT gov  (for spambots to harvest)

- Raw text -


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