[fpc-pascal] Using arm-embedded-fpc

Koenraad Lelong koen1 at de-brouwerij.be
Wed Oct 23 12:05:06 CEST 2013

op 23-10-13 11:33, Tomas Hajny schreef:
> On Wed, October 23, 2013 11:23, Koenraad Lelong wrote:
> Are you aware of compiler option -s (or -sh, but that is the default for
> -s if I remember correctly)?
> Tomas

Hi Tomas,

fpc at linux:~/src-arm-fpc> fpc -Parm -Tembedded -Wplpc2124 -sh tled1.pp
Free Pascal Compiler version 2.7.1 [2013/10/23] for arm
Copyright (c) 1993-2013 by Florian Klaempfl and others
Target OS: Embedded
Compiling tled1.pp
tled1.pp(54,4) Fatal: Can't open executable tled1.elf
Fatal: Compilation aborted
Error: /usr/bin/ppcrossarm returned an error exitcode (normal if you did 
not specify a source file to be compiled)

fpc at linux:~/src-arm-fpc> ls -l
total 16
-rw-r--r-- 1 fpc users  867 okt 23 11:55 link.res
-rw-r--r-- 1 fpc users 1187 okt 23 10:33 tled1.pp
-rw-r--r-- 1 fpc users 4710 okt 23 11:55 tled1.s

tled1.s seems the assembly-file of the source. link.res is the same as 
the one I get when I don't use -sh.

Thanks anyway.

Koenraad Lelong

More information about the fpc-pascal mailing list