Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to start?



On Monday, March 25, 2002, at 05:46 PM, Ben Hines wrote:

At 6:27 PM -0500 3/25/02, email@hidden wrote:
I would like to get this program running on OS X:

http://tree.sourceforge.net/

Now the question is where do I start? Is there a cookbook someplace
listing the steps one needs to take to do this "porting?" Tutorials? Recommendations on a good book? Any help pointing me in the right
direction will be greatly appreciated. First step is to get it running
from the terminal; integrating with a Cocoa application comes later.
Thanks all.


You need to learn the basics of the "configure" and "make" systems. Basic UNIX programming. I'm sure there are books on that subject.

Then there are often problems related to headers, like on OS X

#include <malloc.h>
has to be
#include <sys/malloc.h>

NO! <sys/malloc.h> is only for kernel and kernel-related projects. <malloc.h> is deprecated in POSIX and other unix-like systems; it has no content worth note. You can just remove references to it (or #ifdef them out).


Check out the archives for the various darwin lists for further discussion.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |    Men are from Earth.
                                       |    Women are from Earth.
                                       |       Deal with it.
*--------------------------------------*-------------------------------*
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.



References: 
 >Re: Where to start? (From: Ben Hines <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.