[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X

From: Paul F. Kunz
Subject: Re: Mac OS X
Date: Fri, 18 May 2001 08:52:43 -0700

>>>>> On Fri, 18 May 2001 09:29:56 -0600, Tom Tromey <address@hidden> said:

>>>>> "Paul" == Paul F Kunz <address@hidden> writes:
>>> SUBDIRS = hippo jni .

Paul> Yes, but for Mac OS X, the target `all' should depend on target
Paul> `budnle'.  That's the part I don't know how to do, but then I
Paul> haven't tried to figure it out either.

> What is a bundle target?  What does it do?  

        rm -rf */*.o
        c++ -bundle -I/System/Library/Frameworks/JavaVM.framework/Headers \
        -I.  -o libhippoplot.jnilib -framework JavaVM \
        jni/*.cxx pattern/*.cxx reps/*.cxx src/*.cxx transforms/*.cxx \

This is some Mac OS X specific magic that a user told me he had to do
to compile and link. It is the NeXT, opps Apple, recommended way.
Note the `-bundle' and `-framework' options to the c++ command.  Beats
me what it does, but I had a visitor yesterday with Mac OS X laptop
and saw that this works for myself.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]