Gale Paeper wrote:
Still no success in getting a working gpc built. Quite a few bootstrapping problems remain; however, I think they are mostly related to linking issues arising from changes in Apple's linker and the continuing OS version dependent revamping of linking requirements. The major headache looks to be wrestling the decade old configure, build, and linker specs (and libraries) into working with Apple's latest linker's expectations.
FWIW, you should be able to get all information you need regarding what should or should not be linked depending on which OS X version you are targeting from TLinkerBSD.GetDarwinCrt1ObjName in http://svn.freepascal.org/svn/fpc/trunk/compiler/systems/t_bsd.pas
Also make sure you either install the Xcode command line tools package (sudo xcode-select --install), or specify an SDK to use (linker "-syslibroot XXX" parameter). This is mainly to find the crt1.o and related files (if you don't install the command line tools, they're not in /usr/lib).
Jonas