[fpc-pascal] Constants

Florian Klaempfl florian at freepascal.org
Sun Jan 8 13:03:41 CET 2006


Carsten Bager wrote:

> Hi
> I am programming to an embedded ARM platform and my question 
> is, is it possible to force constants to stay in the code segment 
> (constant strings etc.) In C you can do this using "static".
> It looks as all string constants are placed in the data segment, and all 
> variables are placed in the bss segment. Is that always the case? 

Yes. What's the exact reason you need them in text segment?



More information about the fpc-pascal mailing list