[fpc-devel] fpc compiler is unable to link on OSX Mavericks

Michael Ring mail at michael-ring.org
Fri Oct 4 13:03:05 CEST 2013


I today installed the GA of Mavericks, it seems that crt1.o was deleted 
from /usr/lib:

[ring at macbookpro devel]$ fpc hello.pas
Free Pascal Compiler version 2.6.2 [2013/02/03] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Darwin for i386
Compiling hello.pas
Assembling (pipe) hello.s
Linking hello
ld: file not found: /usr/lib/crt1.o
An error occurred while linking
hello.pas(4,1) Error: Error while linking
hello.pas(4,1) Fatal: There were 1 errors compiling module, stopping

crt1.o can now be found in the following places:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/lib/crt1.o
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/crt1.o

Michael



More information about the fpc-devel mailing list