Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / January 2005



Tip: Looking for answers? Try searching our database.

MallocDebug & MachO & MSL_ALL_MACHO.lib

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
schuy@dnastar.com - 18 Jan 2005 01:02 GMT
I can't get MallocDebug to work with MachO apps built with CW 9.x.
I tried using the 'MacOS X Mach-0:Mac OS Toolbox:C Toolbox Mach-O'
stationary with no luck.
Malloc debug works fine on other Apps , BBEdit for instance.

The only thing that seem to work is to remove the MSL_ALL_MachO.lib
from the project.
Is there any way to get the CW  MachO apps to work with Malloc Debug
and to link in the MSL_ALL_MachO.lib?

The console dumped the following info when the MSL_ALL_MachO.lib was
included.
===== Mon Jan 17 2005 ===== 18:07:52 US/Central =====
dyld: /Volumes/Mac OS X/Users/schuy/Desktop/garftest2/SimpleAlert
Debug.app/Contents/MacOS/SimpleAlert Debug multiple definitions of
symbol _exit
/Volumes/Mac OS X/Users/schuy/Desktop/garftest2/SimpleAlert
Debug.app/Contents/MacOS/SimpleAlert Debug definition of _exit
/usr/lib/libSystem.B.dylib(exit.So) definition of _exit
Jan 17 18:07:58 tigger crashdump: Unable to determine CPSProcessSerNum
pid: 4725 name: SimpleAlert Debug
Jan 17 18:07:58 tigger crashdump: Started writing crash report to:
/Volumes/Mac OS X/Users/schuy/Library/Logs/CrashReporter/SimpleAlert
Debug.crash.log
Jan 17 18:07:58 tigger crashdump: Finished writing crash report to:
/Volumes/Mac OS X/Users/schuy/Library/Logs/CrashReporter/SimpleAlert
Debug.crash.log
Miro Jurisic - 18 Jan 2005 03:38 GMT
> Is there any way to get the CW  MachO apps to work with Malloc Debug
> and to link in the MSL_ALL_MachO.lib?

No.

meeroh

Signature

If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>

Brad Oliver - 31 Jan 2005 05:50 GMT
> > Is there any way to get the CW  MachO apps to work with Malloc Debug
> > and to link in the MSL_ALL_MachO.lib?
>
> No.

The next-best thing you can do (IMHO) is to link against
libMallocDebug.a, in /usr/lib. You'll get much of the same functionality
at runtime but without the nice GUI app, unfortunately.

Signature

Brad Oliver
bradman@pobox.com.AM_SPAY

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.