[fpc-pascal] problem compiling svn-fpc for arm-linux
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Mar 19 10:15:54 CET 2006
On 19 Mar 2006, at 10:07, Koenraad Lelong wrote:
> This program is buggy - '@' is used as the comment character for
> ARM, so
> everything after that is ignored. The assembler therefore sees:
>
> .type operatingsystem_result,
>
> which is garbage. The GNU assembler targetted for ARM accepts '#'
> or '%' here, not '@'.
> </quote>
> Is there anyone who can give a hint where to look to fix this ?
Remove "tf_needs_symbol_type" from system_arm_linux_info in compiler/
systems/i_linux.pas
Or alternatively have a look at the output of gcc -S and if it does
generate some sort of symbol type information, change compiler/
aggas.pas:590 based on "if (target_info.system <> system_arm_linux)
then ... else ..."
Jonas
More information about the fpc-pascal
mailing list