HelloWorld Shared Library Project Settings




The Project Window

The files used are the HelloWorld.c source which provides the JNI functionality, the MacOS libraries used to build a shared library and because we will be using the SIOUX console environment, the SIOUX and ANSI libraries.


The PPC Target Settings

This will create a shared library file named "HelloLib" in the current directory, the OS type is set to "shlb" so that it will have the correct icon.

This file must be either in the same folder as the application, or in the Extension folder of the System folder or in a folder in the Extensions folder.

NB If in a folder of in the Extensions folder it can only be one level deep.


The PPC PEF Settings

These are the settings for the actual Shared Library, not exactly the same as the Shared Library file described by the PPC Target Settings.

The fragment is named "Hello" which how Java will be referencing it