[lazarus] Free Pascal

Marco van de Voort marcov at stack.nl
Tue Oct 23 08:46:58 EDT 2001


> On Tue, 23 Oct 2001 12:13:51 +0200 (CEST)
> marcov at stack.nl (Marco van de Voort) wrote:
> 
> > The same here. I also had to add OPT='-Sg' for some file while building.
> > 
> > Also I had to add /usr/local/lib to the search libdirs.

 
> I'm not sure. Do u have problems compiling lazarus or has the IDE problems
> to compile one of your projects? No Lazarus file should need the -Sg
> option, because there is no label or goto.

Lazarus, under FreeBSD.

I think /usr/local/lib should be in the default ppc386.cfg though, it is not
something for Lazarus to fix.

[...]
ppc386 -gl -Fu../units -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/rtl -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/paszlib -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/inet -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/fcl -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/mysql -Fu/usr/local/lib/fpc/1.0.5/units/freebsd/ibase -FE../units -FU../units -di386 allcodetoolunits.pp
memcheck.pas(695,3) Error: GOTO and LABEL are not supported (use switch -Sg)
memcheck.pas(698,5) Error: GOTO and LABEL are not supported (use switch -Sg)
memcheck.pas(756,13) Error: GOTO and LABEL are not supported (use switch -Sg)
memcheck.pas(784,11) Error: GOTO and LABEL are not supported (use switch -Sg)
memcheck.pas(1019) Fatal: There were 4 errors compiling module, stopping

find . |grep memcheck
./components/codetools/memcheck.pas






More information about the Lazarus mailing list