[fpc-pascal] would be possible to create .dex file from PPCJVM .class files with no depend on App compat library

2020-01-29 Thread Mgr. Janusz Chmiel via fpc-pascal
Dear specialists,
Does somebody of you know, if it would be possible to build functional
Android app from PPCJVM created .class files which will not depend on App
compat jar library?
I have found two fully functional solutions, which do not used appcompat
library.
Scatter on GOogle Play named create Android apps and one Termux project,
which have been created by MR Sdrausty. It build .apk packages with minimal
dependencies and fully functional, .dex sizes can be 40 100 KB, ETC.

But unfortunately, there is very very few projects, which can build .dex
files from .class files, which have been created by Free Pascal compiler.
My goal is to reduce memory allocations and increase GUI speed while
touching screen with Android accessibility suite. I believe, that if
resulting app have minimal dependencies, it allocates less memory and its
GUI responsiveness can be much more faster.
Mr Sven Bard have created one functional app several ayears ago. it was
metro organizer app.
It is very sad, that nobody have released good Android app builder which is
based on PPCJVM, it would allow developers to create very small
applications.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Best start point for adding new FPC target

2020-01-29 Thread Sven Barth via fpc-pascal
Karoly Balogh (Charlie/SGR)  schrieb am Mi., 29.
Jan. 2020, 01:22:

> However, you need to add the new target it to the build system, and the
> compiler, which is quite complicated, as a system ID and various
> properties have to be added to quite a few places (compiler,
> /systems/t_bsd.pas, systems.pas, ppudump, FPMake and FPCMake, then
> regenerate all the Makefiles...) So it's quite an undertaking, not really
> feasible for submitting a simple patch. However, if you want I can assist
> in that part, so you can just iterate on the RTL, by having a working
> compiler already.
>

As a little anecdote: submitting a patch for a new target was exactly how I
have started (and it was a completely new target, so more changes), so I
wouldn't say that this isn't feasible for a patch ;) (
https://bugs.freepascal.org/view.php?id=14886 )

Regards,
Sven

>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal