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

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Oct 4 13:55:33 CEST 2013


On 04 Oct 2013, at 13:15, Jonas Maebe wrote:

> On 04 Oct 2013, at 13:03, Michael Ring wrote:
>
>> 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
>
> If this is the case even after *re*installing the command line tools  
> in case you upgraded (which I assume you did, otherwise you'd  
> presumably get other errors), then you will have to explicitly  
> specify a location of an SDK via -XR/Applications/Xcode.app/Contents/ 
> Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk  
> or /Applications/Xcode.app/Contents/Developer/Platforms/ 
> MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk

BTW can you post the output of the following command:
   clang -print-search-dirs


Jonas



More information about the fpc-devel mailing list