[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:

Possibly also ~/.fpc.cfg


More information about the fpc-pascal mailing list