Main Page
Cookbook/Overview ImageMeister the jcprops file Licensing Binary Installation & Configuration [ Win · Mac · Nix · OSX ] Changes Public API Source Code Main Page Java [ Common · Win · Mac · Nix ] Native Code [ Common · Win · Mac · Nix ] Manifest Native Code Overviews [ Common · Win · Mac · Nix · Strings ] Macros [ General · Native Macros ] Walkthroughs [ Java only · Java and native ] Building [ Win · Mac · Nix · OSX ] Distribution Issues |
You can leave the source
folder inside the samizdat
folder, or you can place it in another location,
such as inside your CodeWarrior folder if it's more convenient.
The source
folder contains two Stuffit archives which contain the Mac-specific files:
mac_Project.sit a folder containing the CodeWarrior project mac_JConfig_rsrc.sit the JConfig resource file (JConfig.rsrc)
To install, unstuff each of these files in place: i.e., unstuff both of them into the 'source' folder.
NOTE: If Stuffit does not recognize the .sit files as Stuffit archives, you'll need to change the creator of each of these files to 'SIT!', and the type of each of these files to 'SITD'.
NOTE: We recommend that you use Windows as your 'homebase', and only transfer files to the Mac in order to compile the Mac shared libraries. So, the CodeWarrior project file included with this distribution only compiles the native code, not Java.
To compile the Mac shared libraries, you need:
To compile the Java code, you'll need a Java compiler, such as Metrowerks or the tools included with MRJ. Since we only support compiling the Java code on Windows, you'll need to create a project yourself.
You'll need to edit the preferences of the CodeWarrior project to reflect the locations where you've stored the Internet Config and MRJ SDKs.
To compile, open the CodeWarrior project, and select the 'BuildAll' target. This will create four shared libraries:
JConfig.shlb is the standard shared library distributed with JConfig, however, if you're only running on one VM, you might wish to use one of the other libraries.
IMPORTANT NOTE:
Don't modify the relative locations of files or folders within the distribution;
doing so may require editing the project file.