Op 14-02-13 20:08, Michael Ring schreef:
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 $*


Hi,

When I install that script my test-program compiles and links (fpc r23627) with an own compiled binutils 2.23.1. Without it I still get the linker-error. I tried to make a crosscompiler today with r23680, but that fails. Is it still necessary to use that arm-embedded-ld hack ?

Thanks,

Koenraad Lelong
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to