fpc trunk has no jvm targets lazarus / 43-Android ---------------------------------------------------------------------- Christian · 2012-10-07 11:16 when i refresh the target lists with fpcmake -Tall no jvm-java or jvm-android targets are in the list. what revision of fpc i should use when i want to use them ? ---------------------------------------------------------------------- Laksen · 2012-10-07 12:53 Are you using fpcmake from trunk too? I suspect you are using a release version fpcmake which does not know about jvm ---------------------------------------------------------------------- Christian · 2012-10-07 14:49 thanks, your absoulutly right. now i used utils/fpcm/fpcmake and it works i was thinking fpcmake uses some configuration file or something like this but it has the information what targets are there compiled in ---------------------------------------------------------------------- Christian · 2012-10-07 15:01 Now compiling fails at this point: The installer encountered the following error: External command "/media/Daten/fpc/trunk/compiler/ppcjvm -Tjava -FUbzip2/units/jvm-java/ -Fu/media/Daten/fpc/trunk/rtl/units/jvm-java/ -Fubzip2/src -Fibzip2/src -Tjava -Pjvm -Ur -Xs -O2 -n -Fu/media/Daten/fpc/trunk/rtl/units/jvm-java -djvm -dRELEASE -O2 -g -FD/media/Daten/fpc/java/ -viq bzip2/BuildUnit_bzip2.pp" failed with exit code 1. Console output: Target OS: Java Virtual Machine Compiling bzip2/BuildUnit_bzip2.pp Compiling ./bzip2/src/bzip2comn.pp Assembling bzip2comn Generated: bzip2/units/jvm-java/bzip2comn.class Compiling ./bzip2/src/bzip2.pas bzip2.pas(29,6) Fatal: Can't find unit objects used by bzip2 Fatal: Compilation aborted Has anyone an idea about that ? ---------------------------------------------------------------------- Laksen · 2012-10-07 18:19 Looks odd, like a broken build order dependency. Does that trunk build for your native platform? Also, what commandline did you use to build it for jvm? ---------------------------------------------------------------------- Christian · 2012-10-08 03:11 Commandline was make build CROSSOPT="-O2 -g -FD/media/Daten/fpc/java/" CPU_TARGET=jvm OS_TARGET=android ALLOW_WARNINGS=1 my yesterday used rev. cant also create trunk build but fails with an dwarf issue, fixed in actual trunk (rev 22576) trunk builds for my system fine now (x86_64) but jvm-android fails with the same issue