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 3 of 3 Topic 543 of 637
Post > Topic >>

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

by "bg-greece" <byron@[EMAIL PROTECTED] > Jul 5, 2006 at 01:48 PM

The question is not how to build an intel library, but the ability of the
Intel platform 
to dynamically load a carbonised native library through FSMakeFSSpec


"D P Schreber" <schreberdp@[EMAIL PROTECTED]
> wrote in message 
news:eNGdnTGxFrE-_jfZnZ2dnUVZ_v-dnZ2d@[EMAIL PROTECTED]
>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 9:32:40 CST 2008.