[fpc-devel] FPC-JVM: Status report on Android

Sven Barth pascaldragon at googlemail.com
Fri Sep 2 12:30:08 CEST 2011


Am 02.09.2011 11:55, schrieb Jonas Maebe:
> That would indeed cause the makefile to create a directory called
> "ppcjvm". And the compiler binary is always called "pp" and then renamed
> (moved) to "ppc<arch>", so that would indeed put the "pp" binary in that
> ppcjvm directory rather than renaming it to "ppcjvm".

Ok, then I'll remove that directory and check again ^^

>> When using ppcjvm I compile using "-n" and when I compile the Java RTL
>> using make I also need to pass "-XP " in OPT.
>
> Strange:
>
> ~/fpcjvm/rtl/java$ make FPC=ppcjvm2 OPT="-n -O2 -al" clean all
> /bin/rm -f ../../rtl/units/jvm-java/system.ppu
> ../../rtl/units/jvm-java/uuchar.ppu ../../rtl/units/jvm-java/objpas.ppu
> ../../rtl/units/jvm-java/jdk15.ppu
> /bin/rm -f fpcmade.jvm-java Package.fpc ppas.sh script.res link.res
> /bin/rm -f *.s *_ppas.bat
> ppcjvm2 @rtl.cfg -Tjava -Pjvm -Fi../inc -Fi../jvm -FE.
> -FU../../rtl/units/jvm-java -n -O2 -al -djvm -Us -Sg system.pp
> Generated:
> ../../rtl/units/jvm-java/org/freepascal/rtl/$system$$_fpc_nestedvars$4864.class
>
> Generated: ../../rtl/units/jvm-java/org/freepascal/rtl/system.class

I'll check what I get as output by make and report that.

>> For the second part: Can it be that I need to regenerate the makefiles?
>
> No, but maybe you did regenerate the makefile in rtl/java already with
> an fpcmake from trunk? The patch to prevent BINUTILSPREFIX being set in
> rtl/java/Makefile was applied in r18351

I didn't regenerate the makefiles till now in that checkout...

Regards,
Sven



More information about the fpc-devel mailing list