Hi For 3 years ago I asked about placing constants the code segment.
Peter Vreman replied: In the compiler is support for a .rodata section, but this doesn't work yet. It has very low priority to fix this support. You are welcome to supply patches to make it work. In your own linker script you can then include the .rodata in the .text segment of the final executable. How is this looking in the 2.2.4 version of the compiler? Regards Carsten _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel