[fpc-pascal]ARM compiling error

Jose Pascual josepascual at almudi.com
Thu Jun 17 12:42:18 CEST 2004


Patch applied
but right now the compiling stop in system.pp

----------------------------DUMP SCREEN------------------------------
arm-linux-as -o prt0.o arm/prt0.as
arm-linux-as -o dllprt0.o arm/dllprt0.as
arm-linux-as -o cprt0.o arm/cprt0.as
arm-linux-as -o gprt0.o arm/gprt0.as
/trabajo/programas/freepascal/cvs/fpc/compiler/ppcrossarm -Ur
-XParm-linux- -Xc -Xr -Xs  -n -Fi../inc -Fi../arm -Fi../unix -Fiarm -FE.
-darm -dRELEASE -Us -Sg system.pp
Panic : Internal compiler error, exiting.
sstrings.inc(602,1) Fatal: Internal error 9999
make[4]: *** [system.ppu] Error 1
make[4]: Leaving directory
`/trabajo/programas/freepascal/cvs/fpc/rtl/linux'
make[3]: *** [rtl] Error 2
make[3]: Leaving directory
`/trabajo/programas/freepascal/cvs/fpc/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory
`/trabajo/programas/freepascal/cvs/fpc/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `/trabajo/programas/freepascal/cvs/fpc'
make: *** [build-stamp.linux] Error 2
------------------------------------------------------------------------
regards

> -----Mensaje original-----
> De: fpc-pascal-admin at lists.freepascal.org 
> [mailto:fpc-pascal-admin at lists.freepascal.org] En nombre de 
> Vincent Snijders
> Enviado el: jueves, 17 de junio de 2004 11:44
> Para: fpc-pascal at lists.freepascal.org
> Asunto: Re: [fpc-pascal]ARM compiling error
> 
> 
> On Wed, 16 Jun 2004 12:25:31 +0200
> "Jose Pascual" <josepascual at almudi.com> 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.
> 
> 
> __________ InformaciĆ³n de NOD32 1.789 (20040614) __________
> 
> Este mensaje ha sido analizado con  NOD32 Antivirus System
> http://www.nod32.com
> 
> 
> 
> __________ InformaciĆ³n de NOD32 1.789 (20040614) __________
> 
> Este mensaje ha sido analizado con  NOD32 Antivirus System
> http://www.nod32.com
> 
> 





More information about the fpc-pascal mailing list