Re: [fpc-devel] JVM testing on x86_64

2022-06-08 Thread J. Gareth Moreton via fpc-devel
Here it is. https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/237 By the way - thanks for telling me to test my typeconv strip on JVM.  I've got a failure that I need to investigate now. Gareth aka. Kit -- This email has been checked for viruses by Avast antivirus software.

Re: [fpc-devel] JVM testing on x86_64

2022-06-08 Thread Jonas Maebe via fpc-devel
On 2022-06-08 21:10, J. Gareth Moreton via fpc-devel wrote: Thanks for your help.  I've had to make a lot of changed to testall.bat since it was malformed in places.  I've got it working now though. Would there be interest in me creating a merge request with the improved TESTALL.BAT file for

Re: [fpc-devel] JVM testing on x86_64

2022-06-08 Thread J. Gareth Moreton via fpc-devel
Hi Jonas, Thanks for your help.  I've had to make a lot of changed to testall.bat since it was malformed in places.  I've got it working now though. Would there be interest in me creating a merge request with the improved TESTALL.BAT file for tests/test/jvm? Gareth aka. Kit On 08/06/2022

Re: [fpc-devel] JVM testing on x86_64

2022-06-08 Thread Jonas Maebe via fpc-devel
On 2022-06-08 15:15, J. Gareth Moreton via fpc-devel wrote: The testall.bat file took some modification since it doesn't handle parameters like testall.sh does.  I didn't get too far though: You have to install our own, patched version of Jasmin: https://wiki.freepascal.org/FPC_JVM#Download

Re: [fpc-devel] JVM testing on x86_64

2022-06-08 Thread J. Gareth Moreton via fpc-devel
Okay. got the JDK installed (and got javac), so we're making progress!  Mostly... testall.sh still won't run since I'm not specifying the correct options I don't think.  I've gotten testall.bat partially working, but still getting errors (I had to add the '.java' extension to JavaClass to

Re: [fpc-devel] JVM testing on x86_64

2022-06-08 Thread J. Gareth Moreton via fpc-devel
The lack of "javac" is a little confusing.  I have a lot to learn! Gareth aka. Kit On 08/06/2022 14:15, J. Gareth Moreton via fpc-devel wrote: The testall.bat file took some modification since it doesn't handle parameters like testall.sh does.  I didn't get too far though:

Re: [fpc-devel] JVM testing on x86_64

2022-06-08 Thread J. Gareth Moreton via fpc-devel
The testall.bat file took some modification since it doesn't handle parameters like testall.sh does.  I didn't get too far though: C:\Users\garet\Documents\programming\fpc-opts\tests\test\jvm>..\..\..\compiler\ppcjvm -Fu..\..\..\rtl\units\jvm-java -O2 -g test Generated:

Re: [fpc-devel] JVM testing on x86_64

2022-06-08 Thread Jonas Maebe via fpc-devel
On 2022-06-08 14:42, J. Gareth Moreton via fpc-devel wrote: on x86_64-win64 after downloading the necessary runtimes, but how do I run the test suite for jvm-java? erroru.pp(25,3) Fatal: Unknown compilerproc "fpc_get_output". Check if you use the correct run time library. Fatal: Compilation

[fpc-devel] JVM testing on x86_64

2022-06-08 Thread J. Gareth Moreton via fpc-devel
Hi everyone, So since a large number of my new optimisations do things at the nodal level, I need to do much more extensive testing.  One thing that was brought up was testing JVM and LLVM.  I've managed to build "ppcjvm" on x86_64-win64 after downloading the necessary runtimes, but how do I