Re: How-To: private framework
Re: How-To: private framework
- Subject: Re: How-To: private framework
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 8 Apr 2003 14:59:16 -0700
On Tuesday, April 8, 2003, at 04:50 AM, Ben Dougall wrote:
further question along the same lines: how about with something that
gets installed usually in /usr/wherever. what happens if you want that
in your app bundle?
the thing installed in /usr/wherever i'm thinking of in particular is
the gcc compiler which i realise is a fairly complex install, multiple
parts, but still - i would like to be able to do that. possible?
so that's, is it possible to have the gcc installer installed and
contained within you app bundle?
If it's a binary file, you can set up a copy files build phase that
copies a file into your app bundle's executables directory
(YourApplication.app/Contents/MacOS/)... There's an NSBundle instance
method, pathForAuxiliaryExecutable:, that's just for returning the path
to the executable if you know its name.
However, I don't think you'll be able to get this to easily work with
GCC, since GCC depends on some files that are installed in /usr/lib and
/usr/libexec and probably won't run (or won't run correctly) unless
those files are installed. So your best bet here is to just require
that the user installs the developer tools before using your
application.
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
"Building the future and keeping the past alive are one and the same
thing." - Metal Gear Solid 2
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.