On Wed, 16 Jun 2004 12:25:31 +0200 "Jose Pascual" <[EMAIL PROTECTED]> wrote:
> > I have tried to build last cvs version 1.9.4 for ARM and It can't > compile > > I'm using ppc386 version 1.0.10 to make it! > > #> > #> make clean all OS_TARGET=linux CPU_TARGET=arm > BINUTILSPREFIX=arm-linux- > #> > > ------------------ DUMP SCREEN --------------------------- > /usr/bin/ppc386 -dUNIX -Ur -Xs -OG2p3 -n -Fi../inc -Fi../i386 -Fi../unix > -Fii386 -FE. -di386 -dRELEASE ../unix/dos.pp > /usr/bin/ppc386 -dUNIX -Ur -Xs -OG2p3 -n -Fi../inc -Fi../i386 -Fi../unix > -Fii386 -FE. -di386 -dRELEASE ../unix/crt.pp > crth.inc(60,18) Fatal: Syntax error, ; expected but = found <snipped rest of make output> > --------------- this is line 60 in crth.inc------------- > TextAttr: Byte = $07; { Current text attribute } > -------------------------------------------------- > > it seems as know about Byte but not about initializating value in this > line, perhaps because it's byte type? > Any suggestion? This is not a ARM specific error, I have it on linux too. It is caused by the fact that fpc 1.0 doesn't know initialized variables, only typed constants. Attached patch fixes cycling the compiler again. Regards, Vincent.
crth.patch.gz
Description: GNU Zip compressed data