Kim wrote:
> hej,
> udfordringen er at jeg skal bruge en krydscompiler i en redhat til en arm
> processor. Jeg følger den 'nemme' installionsprocedure fra
> <
http://www.lart.tudelft.nl/lartware/compile-tools/> - altså bruger den
> pre-compileret tarball. Jeg har husket at placere det hele under
> /data/lark/cross..som der står på siden.. koden som skal kompileres:
> arm-linux-gcc hej.c
> /tmp/ccKXYoWb.s: Assembler messages:
> /tmp/ccKXYoWb.s:1: Error: Rest of line ignored. First ignored character is
> `@'. /tmp/ccKXYoWb.s:9: Error: Rest of line ignored. First ignored
> character is `@'. /tmp/ccKXYoWb.s:10: Error: Rest of line ignored. First
> ignored character is `@'./tmp/ccKXYoWb.s:11: Error: too many memory
> references for `mov' /tmp/ccKXYoWb.s:12: Error: no such instruction:
> `stmfd sp!,{fp,ip,lr,pc}' /tmp/ccKXYoWb.s:13: Error: too many memory
> references for `sub' /tmp/ccKXYoWb.s:15: Error: no such instruction:
> `ldmea fp,{fp,sp,pc}'
Er du sikker på, gcc benytter sig af cross-assembleren og ikke maskinens
egen assembler? Altså arm-linux-as i stedet for as?
/Rasmus
--
-- [ Rasmus "Møffe" Bøg Hansen ] ---------------------------------------
It ain't possible for a dumb to sing no matter how good his
dice rolls are!
-- SmurfQuest rules
----------------------------------[ moffe at amagerkollegiet dot dk ] --