This significantly complicates my project. I would avoid this.
After a few tests, I can say that it works correctly with the linked
system unit and cmem. Unfortunately, this greatly complicates build
process which is disproportionate to amount of code. So I decided to do
it in C for now.
Than
Forgot to mention, you can also write your own system unit and swap it in
place (in delphi and fpc). You can modify existing system unit or even
rewrite your own system unit from scratch..
KOL/mck project does this sort of thing to decrease executable size to a
miniature size. Embedded programme
On Thu, January 19, 2017 1:28 pm, gabor wrote:
> I was hoping that maybe there is an easy answer. But I understand.
> Thanks.
>
The easy answer is just to use the system unit and have no fear...
The main issue with using fpc with C is when you try to use classes or try
to use C++ classes
As obje
On Thu, Jan 19, 2017 at 8:15 PM, gabor wrote:
> problems with initialization/finalization sections).
...
> I know that following types require extra code:
> object, class, sting, dynamic array, try..except.
> What else should I avoid?
I think it is a huge exaggeration to rule out all of that. I t
I was hoping that maybe there is an easy answer. But I understand.
Thanks.
MichaĆ.
W dniu 2017-01-19 o 20:28, Jonas Maebe pisze:
It is therefore not possible to give an answer to your question that is
generally valid. Furthermore, the answer could become wrong at any time
because all of that is
On 19/01/17 20:15, gabor wrote:
I would like to write some code that will be static linked with C
application. In addition, I would like to avoid linking system and rtl
units and would use only routines that come with C app and library (I
heard that combining fpc rtl with C application is not a g
Hello!
I would like to write some code that will be static linked with C
application. In addition, I would like to avoid linking system and rtl
units and would use only routines that come with C app and library (I
heard that combining fpc rtl with C application is not a good idea and
there are