[fpc-pascal] JVM

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Mar 10 11:12:40 CET 2015


Hi,

I tried to build ppcjvm and failed.
I followed the wiki instructions:
http://wiki.freepascal.org/FPC_JVM/Building

fpcmake of 3.1.1 is in PATH.
make CROSSOPT="-O2 -g" CPU_TARGET=jvm OS_TARGET=java clean all

It stops
Error: Assembler jasmin.jar not found, switching to external assembling

I tried the instruction for Jasmin:
I downloaded and unpacked jasmin 2.4.
Applying the patch failed, because it changes line endings. "patch" needs the option "--binary" for that.
It still fails on two files:
src/jasmin/parser.java
src/jasmin/sym.java

Calling build.sh results in
build.sh: line 2: $'\r': command not found
build.sh: line 16: $'\r': command not found

Due to the changed line endings.

What is now the right way to get a ppcjvm?  


Mattias



More information about the fpc-pascal mailing list