[fpc-pascal] ppcrossarm

Florian Klaempfl florian at freepascal.org
Wed May 4 15:59:31 CEST 2005


Carsten Bager wrote:

> Switching from version 1.9.5 to version 1.9.9 gives me the 
> following problem; the compiler cannot find the assembler. 
> The assembler (as) and linker (ld) are in the same folder. I 
> am using the same fpc.cfg (in the same folder). What are I 
> doing wrong.
> see below

The newer compilers requires an updated fpc.cfg and that the assembler is called
e.g. arm-linux-as and arm-linux-ld.

> 
> Regards
> Carsten
> 
> carsten at linuxPC1:/Pas/Embedded> ./ppcrossarm TestEmbedded.pas -
> a
> Free Pascal Compiler version 1.9.9 [2005/03/03] for arm
> Copyright (c) 1993-2005 by Florian Klaempfl
> Target OS: Linux for ARM
> Compiling TestEmbedded.pas
> Compiling system.pp
> Assembling system
> system.pp(8,1) Error: Assembler -as not found, switching to external
> assembling system.pp(8,1) Fatal: There were 1 errors compiling 
> module,
> stopping
> 
> 
> carsten at linuxPC1:/Pas/Embedded> ./ppcrossarm TestEmbedded.pas -
> a
> Free Pascal Compiler version 1.9.5 [2005/03/03] for arm
> Copyright (c) 1993-2004 by Florian Klaempfl
> Target OS: Linux for ARM
> Compiling TestEmbedded.pas
> Assembling testembedded
> Linking TestEmbedded
> 5 Lines compiled, 0.0 sec
> carsten at linuxPC1:/Pas/Embedded> 





More information about the fpc-pascal mailing list