![]() ![]() When compiling programs using this compiler, make sure to specify the correct -Fu parameter to point to the Java/Android units. ![]() ![]() The compiler generated by both build processes is the same, so you only need one of them. In both cases, a ppcjvm (or ppcjvm.exe) binary will be created and installed. The generated compiler is called ppcjvm/ ppcjvm.exe. Make CROSSOPT="-O2 -g" CPU_TARGET=jvm OS_TARGET=android INSTALL_PREFIX= FullPathToInstallLocation all crossinstall If you wish to also create a run time library that can be used for Android development, use the following command (replace FullPathToInstallLocation with the directory where to install the result): Make CROSSOPT="-O2 -g" CPU_TARGET=jvm OS_TARGET=java INSTALL_PREFIX= FullPathToInstallLocation all crossinstall in the fpc directory (replace FullPathToInstallLocation with the directory where to install the result): Note: all of the commands below require that the latest native FPC release for your platform is in the PATH.Įxecute the following command in the top level directory of the checked out sources, i.e. Instead check out the relevant tagged release from the repository! If the latest official release of FPC, installed on your system, does not match the version in the main branch, don't use it to build the JVM. To build the compiler, clone the repository to a local folder "fpc" from The FPC JVM backend is now part of main branch. exe after the compiler binary name when copying it) most if not all commands will work on Windows too.Įvery sequence of commands below starts from the assumption that you are in the top-level FPC source directory.Ī complete and working installation of FPC 2.6.0 or later (matching the version of the JVM compiler you want to build), the FPC JVM utilities, and an installation of the JDK 1.5 or later (with the binaries/jar files of all of them in the path). The instructions below are for Unix-like platforms, but by changing the forward slashes to backslashes (and adding. 2.1.4 Building javapp from command-line. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |