[fpc-devel] FPC-JVM: Status report on Android
Sven Barth
pascaldragon at googlemail.com
Wed Aug 31 22:44:39 CEST 2011
On 31.08.2011 22:35, Jonas Maebe wrote:
>
> On 31 Aug 2011, at 22:22, Sven Barth wrote:
>
>> On 31.08.2011 22:14, Jonas Maebe wrote:
>>>
>>> Forgot to commit a file, sorry.
>>
>> Nobody is perfect :)
>>
>> But there seems to be another problem. When assembling the system unit I get the following error:
>>
>> === output begin ===
>>
>> Assembling system
>> ../../rtl/units/jvm-java/$system$$_fpc_nestedvars$486 -d ../../rtl/units/jvm-java/: file not found
>>
>> === output end ===
>>
>> There seems to be missing a "4.j" at the end of the filename... (I might be wrong, but that seems to be the largest filename so far)
>
> That's strange, I've never seen an error like that. I cannot reproduce that problem:
>
> $ make FPC=ppcjvm60 OPT="-O2 -al -g" 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
> ppcjvm60 @rtl.cfg -Tjava -Pjvm -Fi../inc -Fi../jvm -FE. -FU../../rtl/units/jvm-java -O2 -al -g -djvm -Us -Sg system.pp
> Free Pascal Compiler version 2.7.1 [2011/08/29] for jvm
> Copyright (c) 1993-2011 by Florian Klaempfl and others
> Target OS: Java Virtual Machine
> Compiling system.pp
> Assembling system
> Generated: ../../rtl/units/jvm-java/org/freepascal/rtl/$system$$_fpc_nestedvars$4864.class
> Generated: ../../rtl/units/jvm-java/org/freepascal/rtl/system.class
> Generated: ../../rtl/units/jvm-java/org/freepascal/rtl/$methodpointer.class
> Generated: ../../rtl/units/jvm-java/org/freepascal/rtl/FpcEnumValueObtainable.class
> [etc]
>
> You can try executing this:
>
> /path/to/ppcjvm @rtl.cfg -Tjava -Pjvm -Fi../inc -Fi../jvm -FE. -FU../../rtl/units/jvm-java -O2 -al -g -s -djvm -Us -Sg system.pp
>
> and have a look at the generated ppas.sh
No, the end is missing as well.
If I change the unit output path to something like "output" (something
short) though, then the "4.j" is printed. Besides that the content of
the ppas file is completely different in both cases... it nearly looks
as if some RAM garbage is printed... I've run it a third time and the
ppas.sh is again different.
Didn't you change something in the string handling?
Regards,
Sven
More information about the fpc-devel
mailing list