[fpc-pascal] fpc no longer links

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Aug 12 11:58:17 CEST 2012


On 12 Aug 2012, at 11:16, Mattias Gaertner wrote:

> Since yesterday fpc no longer links some programs, e.g. lazarus. It reports no
> error:
> 
> Assembling (pipe) ../units/i386-darwin/carbon/lazarus.s
> Compiling resource ../units/i386-darwin/carbon/lazarus.or
> Closing script ../ppas.sh
> 198 lines compiled, 8.2 sec
> 
> It does not link and does not create the executable.
> 
> It leaves ppas.sh and link.res. Executing ppas manually links without errors and
> creates the executable.
> I tried uninstalling fpc and installing it again. No change.
> 
> fpc 2.6.0, OS X 10.4.
> 
> Has anyone seen this?

No, never (unless the -Cn command line parameter is passed to the compiler)

> Maybe it happened by installing fpc 2.7.1,

I can't see how that could happen, unless somehow your /etc/fpc.cfg got overwritten in the process. Do you have a recent /etc/fpc.bak?

> so I would like to uninstall fpc
> completely. Is there somewhere a list of files to delete?

I thought there was one somewhere on the wiki, but I can't find it anymore. Deleting the following files and directories should do it:
/usr/local/lib/fpc/
/usr/local/bin/fpcres
/usr/local/bin/fpcmkcfg
/usr/local/bin/fpcmake
/usr/local/bin/fpclasschart
/usr/local/bin/fpc
/usr/local/bin/fd2pascal
/usr/local/bin/delp
/usr/local/bin/data2inc
/usr/local/bin/chmls
/usr/local/bin/chmcmd
/usr/local/bin/bin2obj
/usr/local/bin/postw32
/usr/local/bin/plex
/usr/local/bin/mkx86ins
/usr/local/bin/mkarmins
/usr/local/bin/makeskel
/usr/local/bin/instantfpc
/usr/local/bin/h2paspp
/usr/local/bin/h2pas
/usr/local/bin/fprcp
/usr/local/bin/fppkg
/usr/local/bin/fpdoc
/usr/local/bin/fpcsubst
/usr/local/bin/fpcreslipo
/usr/local/bin/unitdiff
/usr/local/bin/rstconv
/usr/local/bin/rmcvsdir
/usr/local/bin/pyacc
/usr/local/bin/ptop
/usr/local/bin/ppumove
/usr/local/bin/ppufiles
/usr/local/bin/ppudump
/usr/local/bin/ppdep
/usr/local/bin/ppcx64
/usr/local/bin/ppcppc
/usr/local/bin/ppc386
/usr/local/bin/ppcarm
/usr/local/share/examples/fpc-*/
/usr/local/share/src/fpc-*/
/etc/fpc.cfg

Possibly also ~/.fpc.cfg


Jonas


More information about the fpc-pascal mailing list