[fpc-pascal] Compiling arm-embedded fpc

Tomas Hajny XHajT03 at hajny.biz
Wed Jan 23 17:20:20 CET 2013


On Wed, January 23, 2013 14:38, Koenraad Lelong wrote:


Hi,

> I was looking into the latest fpc to see if there were updates about
> arm-embedded since my last version. Indeed there are !
> So I downloaded it (svn 23505) and tried to compile it, following the
> wiki (http://wiki.freepascal.org/TARGET_Embedded). It crashes at
> 'ppcrossarm system.pp', message : segmentation-fault. Just that.
> I tried running the last line, and adding -vv. In the fpcdebug.txt I
> can't see much, but I don't know what I'm looking for. I could show
> that, but it's big, about 240k.
>
> Any suggestions how to try to resolve this ? How do you keep debugging
> symbols in the compiler ?
 .
 .

Normally, "OPT=-gl -Xs-" (possibly extended also with -O-) added to the
make command does it.

Tomas





More information about the fpc-pascal mailing list