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

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Sat, 9 Feb 2002 17:59:26 -0500
Message-Id: <200202092259.g19MxQP21308@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <3C6586A1.C3AE5AC3@yahoo.com> (message from CBFalconer on Sat, 09
Feb 2002 20:32:16 GMT)
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>
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

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>.

> Should I be using gstabs+, gstabs, or g?

I think what you want is -pg, not -gp.

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.

- Raw text -


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