[fpc-devel] __stkptr

Michael Van Canneyt michael at freepascal.org
Sat Feb 25 12:46:28 CET 2006



On Fri, 24 Feb 2006, Peter Vreman wrote:

> > On Friday 24 February 2006 06:55 am, Peter Vreman wrote:
> >> Check with objdump if dllprt0.o exports the __stkptr.
> >
> > objdump -t dllprt0.o | grep stkptr
> > 00000000 g     O .bss   00000004 __stkptr
> >
> > so i checked further and i found that just doing
> > ln -fs /usr/lib/fpc/2.1.1/ppc386 /usr/bin/
> > is not enough to switch fpc versions,
> > because the fpc.cfg from fpc-2.0.0-2mdk.i586.rpm contained
> > -Fu/usr/lib/fpc/2.0.0/units/$fpctarget
> > -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/*
> > -Fu/usr/lib/fpc/2.0.0/units/$fpctarget/rtl
> 
> Better change it to /usr/lib/fpc/$fpcversion/units/$fpctarget

We should change the installer so it adds this line to the generated config file.

Michael.



More information about the fpc-devel mailing list