In article <email@hidden>,
"William C. McCain" <email@hidden> wrote:
> I develop and sell three products that run on Mac OS X. All three
> products are written in Java and are distributed in the form of a Mac OS
> X "bundled application". Obviously, the Java code will need no
> conversion to run "natively" on Mac machines with Intel processors. But
> all three products use my own JNI library, written in C, for serial I/O.
>
> 1. Will Rosetta automatically translate my "libserial.jnilib", which is
> compiled for a PowerPC, when my products are run on an Intel-based Mac?
No. Java is not supported by Rosetta. This is mentioned in the Rosetta
section of the Universal Binary Programming Guidelines, which you can
find at <http://developer.apple.com/>.
> 2. If not, how do I convert "libserial.jnilib" to the "universal binary"
> format? Do I simply recompile it with the latest GCC (4.0)? If so,
> what GCC options must I specify to get a JNI-compatible "universal binary"?
Read the Universal Binary Programming Guidelines. Everything you need
to know about building universal binaries should be in there.
Hope this helps,
Eric
--
Eric Albert email@hidden
Core Technologies
_______________________________________________
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