Trying to use MallocDebug
Trying to use MallocDebug
- Subject: Trying to use MallocDebug
- From: Rich Warren <email@hidden>
- Date: Wed, 31 Mar 2004 01:11:05 -0700
I'm trying to use MallocDebug on a c++ command line tool. The program
needs to read from stdin, so I thought I'd start it in a terminal
window and just attach MallocDebug. Unfortunately, I apparently must
have libMallocDebug linked in.
How do I do this in Xcode?
I tried just compiling it from the command line, using "g++
-lMallocDebug ...", but I got a lot of "duplicat symbol" errors. I seem
to remember that there was an order you had to link libraries (at least
on 10.2) to get around this--but I couldn't find any info on linking
MallocDebug, after many hours of googling.
Thanks,
-Rich-
P.S. In a related question--I understood how to set compiler options
(specifically debugging, optimization level and profiling) in Project
Builder. But I can't seem to figure it out in Xcode. Any pointers there
would also be appreciated.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Verbing weirds language.
-Calvin
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.