You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Charles Randall <cr...@matchlogic.com> on 2001/08/30 17:42:33 UTC

libtool vs purify?

Purify requires you to prefix the "purify" command in the final link. For
example,

	gcc -c file-a.c
	gcc -c file-b.c
	purify gcc file-a.o file-b.o

With 1.3.x, I'd simply hand-edit src/Makefile to achieve this. How can I
either get libtool to invoke purify or hack the files by hand to accomplish
this?

Charles

Re: libtool vs purify?

Posted by Ryan Bloom <rb...@covalent.net>.
On Thursday 30 August 2001 09:05, Ian Holsman wrote:
> On Thu, 2001-08-30 at 08:42, Charles Randall wrote:
> > Purify requires you to prefix the "purify" command in the final link. For
> > example,
> >
> > 	gcc -c file-a.c
> > 	gcc -c file-b.c
> > 	purify gcc file-a.o file-b.o
> >
> > With 1.3.x, I'd simply hand-edit src/Makefile to achieve this. How can I
> > either get libtool to invoke purify or hack the files by hand to
> > accomplish this?
>
> we do it manually at the moment.
> we grab the last link line the makefile produces and just append
> 'purify' to it.

You could also try editing rules.mk.  There is a link line in there, which if you
append purify to it, should do the trick, but I am not really sure which line you
would have to modify.

Ryan

______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Re: libtool vs purify?

Posted by Ian Holsman <Ia...@cnet.com>.
On Thu, 2001-08-30 at 08:42, Charles Randall wrote:
> Purify requires you to prefix the "purify" command in the final link. For
> example,
> 
> 	gcc -c file-a.c
> 	gcc -c file-b.c
> 	purify gcc file-a.o file-b.o
> 
> With 1.3.x, I'd simply hand-edit src/Makefile to achieve this. How can I
> either get libtool to invoke purify or hack the files by hand to accomplish
> this?
we do it manually at the moment.
we grab the last link line the makefile produces and just append
'purify' to it.

> 
> Charles
-- 
Ian Holsman
Performance Measurement & Analysis
CNET Networks    -    415 364-8608