[fpc-devel] Need an elegant way to preset a specific memory area in elf files

Michael Ring mail at michael-ring.org
Wed Apr 23 15:53:18 CEST 2014


Am 23.04.14 15:30, schrieb Michael Schnell:
> Some questions that might put us in a working position:
>
> Can you state the cause why xc32 is not usable ?
binutils from xc32 is not usable, I could not link correctly when I used 
th xc32- tools.
>
> For our project (from your first message seemingly different form what 
> you are doing) we want to call fpc functions from running C-made code.
>
> Hence
>  - initialization is no issue at all for us
>  - we would supposedly need to do the RTL in a way that it cooperates 
> with the standard (Microchips) C - Library functions.E.g. supposedly 
> the rtl memory management would need to call the appropriate C Library 
> functions.
>  - we did not yet decide if we would want to link the fpc functions 
> statically or load and link them dynamically in some way. (Here 
> compiling to PIC (position independent code :-) ) might be an issue.
>
> Any comments on that ?

Nope, my main focus is to get it running on bare metal, so dynamic 
linking is of no relevance, I hope that I can statically link Microchip 
libs to pascal code.

>
> Thank,
> -Michael
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>




More information about the fpc-devel mailing list