Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Tools > Re: ****ting a ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 543 of 637
Post > Topic >>

Re: ****ting a JNI library to Mac/Intel

by D P Schreber <schreberdp@[EMAIL PROTECTED] > Jul 4, 2006 at 07:48 AM

I don't know about CodeWarrior but in general you can build an intel
jnilib simply via '-arch i386' as CXXFLAG.  You can also build a
universal jnilib with '-arch i386 -arch ppc':

JAVA_INCLUDE = -I/System/Library/Frameworks/JavaVM.framework/Headers
CXXFLAGS = -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
CPPFLAGS = -mlong-branch ${JAVA_INCLUDE} -Wno-deprecated
LDFLAGS += -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk
 




 3 Posts in Topic:
Porting a JNI library to Mac/Intel
"bg-greece" <  2006-07-04 15:03:22 
Re: Porting a JNI library to Mac/Intel
D P Schreber <schreber  2006-07-04 07:48:35 
Re: Porting a JNI library to Mac/Intel
"bg-greece" <  2006-07-05 13:48:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 10:03:28 CST 2008.