Hello,
I'm a new user and I'd like to use the JVM backend to compile [https://github.com/tebe6502/Mad-Assembler/blob/master/mads.pas MADS] for inclusion in my Java project.
I found the documentation at
https://wiki.freepascal.org/FPC_JVM and started working trough it. I've registered on the Wiki and update outdated things that I find (e.g. URLs still pointing to SVN/FTP). I've managed to get a new version to compile the example successfully.
The last binary build containing a working ppcjvm appears to be 3.0.4.
When I compile the "trange1.pp" example, that version works fine
I've also managed to compile it with the newly built ppcjvm.exe
Using PPCJVM version
3.3.1
Compiling trange1.pp to trange1.
Generated: .\trange1.class
..
For the following issues I'm seeking advice from you:
Q1) The links to the following files are broken and I cannot find any new locations. Maybe somebody has saves these files?
ftp://ftp.freepascal.org/pub/fpc/contrib/jvm/fpcjvmutilities.zip ftp://ftp.freepascal.org/pub/fpc/contrib/jvm/jasmin24b.patch ftp://ftp.freepascal.org/pub/fpc/contrib/jvm/bcel-r1157681-returntype.patchQ2) What are the steps for me to make the SysUtils & crt units available?
Compiling mads.pas to mads.
mads.pas(27,5) Fatal: Can't find unit crt used by MADS
Fatal: Compilation aborted
Compiling mp.pas to mp.
mp.pas(121,4) Fatal: Can't find unit SysUtils used by MADPASCAL
Fatal: Compilation aborted
Q3) It only work if I use the rtl from the 3.0.4 version. The new build is lacking some .class files, e.g. System.class
Kind regards, Peter