Mailing Lists: Apple Mailing Lists

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

Advice on starting new project



Hello,

I'm about to start a new project, and I would like to get some advice from people who are doing something similar.

I've inherited a project written in C++ that I'm going to continue developing. It was primarily designed for Linux, but I've tweaked it to work on OS X. It depends on an existing library (http://root.cern.ch/, source available) that I can build on OS X as well. Right now, my code has a shell script that performs the installation, depending on predefined environment variables. Subdirectories have Makefiles, but there is no makefile in the source root directory.

The following is what I would like to do with the project, and I'd appreciate any comments as to whether I can do everything listed, as well as any tips or pointers on how to get started. (I have been programming in Cocoa for a few years and WO even more, so I'm familiar with Xcode itself.)

- Do all my coding/debugging in Xcode.
- Convert the project installation to use autoconf.
- Ensure that the project can be built in Xcode, Linux, or on the command line in OS X (which minimal hassle).
- Can I mix Obj-C & C++ code and still maintain Linux compatibility? I know that gcc does Obj-C, but Linux doesn't have, for example, an NSAutoreleasePool...


As far as including the ROOT shared libraries, I know that I can build them and include them into the Xcode project, but the installation on Linux will be in a standard location (that I can't change). How can this be designated on each platform (right now the user is required to specify this via an environment variable)?

Thanks in advance for any help!

Cheers,

Demitri Muna

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to 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.