[fpc-pascal] Compiling arm-embedded fpc
Florian Klämpfl
florian at freepascal.org
Thu Feb 14 20:39:10 CET 2013
Am 14.02.2013 20:08, schrieb Michael Ring:
> I might have found a hack to solve your linking problem for arm-embedded
> on linux, unfortunately I am not an expert on gnu ld, but perhaps this
> here gives a hint to somebody that knows how to properly solve your
> problem:
>
> First, create a script names arm-embedded-ld with the following content:
>
> #!/bin/sh
> sed --in-place "s^*(.comment)^*(.comment)\n *(.note, .note.*)^g"
> link.res
> /usr/local/bin/arm-embedded-ld $*
If this is already needed (for me it worked always without), please
provide a patch for fpc/compiler/systems/t_embed.pas The linker script
generation for arm starts at line 222.
More information about the fpc-pascal
mailing list