Compiler critically stopped on module IDGlobal.pas, indicates "iconvenc not found", but when I click on "iconvenc"-string in IDGlobal.pas it opens unit iconvenc.pas from c:\Android\laz4android\fpc\3.0.4\source\packages\iconvenc\src\
That has nothing to do with Indy itself. That is a FPC/Lazarus issue.
Remy Lebeau, you should to modify Indy10 to compile on Laz4android.
And how would you propose I do that exactly? Considering that FPC/Lazarus is the one missing the needed functionality in this situation, not Indy. iconv is a system library, Indy needs access to it. And while Indy does have its own
IdIconv.pas unit, it is not currently setup for Android, and I would like to avoid using that unit if possible.
Your advices do not solve the problem, I described.
Then you need to fix THAT problem, and stop blaming Indy. You already recompiled the
iconvenc unit, like PascalDragon told you to. So now you just need to figure out how to get FPC/Lazarus to find the PPU file you compiled. That is a separate issue.
How to use my created ppu-file and remove link to pas-file, that can't compile anytime?
I can't answer that, as I don't use FPC/Lazarus myself. Someone else in the FreePascal community will have to address that for you. All of Indy's FPC/Lazarus support has been through contributions from the FreePascal community.
Network components "Synapse" compiled today on Laz4android perfectly.
Good for them. They don't have the same functionality that Indy has, especially when it comes to Unicode text handling, which is very important in many modern Internet protocols.
So I have to delete all Indy10 components from my project and rewrite the code to use "Synapse".
Or, you could just fix the issue with the
iconvenc unit and move on.