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: JNI without XCode?



On Jul 7, 2005, at 16:29, Chris Adamson wrote:

Hi Chris:

There's a fair amount of guesswork in these args -- I've been in Java-land for 8 years and haven't done serious C since I was in college. I think I need the "-c" because I'm developing a library and not an executable (with a main method). The -g and -dynamiclib flags are things I found on the web... not sure I need them... it was a late night.

Take a look at this:

http://developer.apple.com/documentation/Java/Conceptual/ Java14Development/index.html

In specific, see the JNI section in "Core Java APIs on Mac OS X". They give examples for building JNI from the command line, depending on whether you want to build dynamic libraries or bundles.

Alternatively, you could always create an Xcode JNI project, build it, and then take a look through the build log to see what commands Xcode is using to build your sources.

    HTH!

Brad BARCLAY,
Lead Developer & Project Administrator,
The jSyncManager Project.

=-=-=-=-=-=-=-=-=-=
From the Mac OS X Desktop of Brad BARCLAY
E-Mail:  email@hidden     Web:  http://www.jsyncmanager.org


Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

References: 
 >JNI without XCode? (From: Chris Adamson <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.