Koenraad Lelong schreef:
Peter Vreman schreef:

More specific, the error-lines point to the @object construct.
Is there any way I can avoid these errors ?
I used revision 2898 of fpc. My arm-linux-as is version 2.14.

Use the latest binutils 2.16.1

I downloaded and compiled them from http://www.gnuarm.com, then compiled fpc with it, with no success. Tried again from www.gnu.org, same result.
Do I have to specify some option ?
I asked about this on [EMAIL PROTECTED] This is what Russel King replied :
<quote>
>> The assembler stumbles on the line containing @object :
>> .section .bss
>>     .balign 2
>>     .globl operatingsystem_result
>>     .type operatingsystem_result,@object
>>     .size operatingsystem_result,2
>> operatingsystem_result:
>>     .zero 2
>>
>> This is what I get :
>> ...fpc/rtl/units/arm-linux/system.s:51162: Error: unrecognized symbol
>> type ""

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 ?
Regards,
Koenraad Lelong.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to