[fpc-pascal] Trying to update to: Xcode 12.5, FPC 3.2.2

conlin664 at yahoo.com conlin664 at yahoo.com
Wed Jun 16 19:43:14 CEST 2021

thanks but I'm still a little stuck.I only do this kind of thing once every 5 years or so..
sudo make FPC=/usr/local/lib/fpc/3.0.4/ppcx64 OPT="-ap -FD${IOS_BASE_BIN} -XR${IOS_BASE}" CPU_TARGET=x86_64 OS_TARGET=iphonesim CROSSOPT="-FD${IOS_BASE_BIN} -XR${IOS_BASE}" all 

it seems that crt1.10.5.o  is no longer in /usr/lib for the iphone sdk
when I tried to use a MacOs version, I get more conflicts..

has anyone been using fpc with the latest xcode 12.5 and Big Sur  11.4 ?

/usr/local/lib/fpc/3.0.4/ppcx64 -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/Users/john/Desktop/Developer/FPC/3.2.2/rtl/units/x86_64-darwin -Fix86_64 -FE. -FUx86_64/units/x86_64-darwin -dRELEASE -ap -FD/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/bin -XR/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk   -dx86_64 -dGDB -dBROWSERLOG -Fux86 pp.pas
ld: file not found: /usr/lib/crt1.10.5.o
An error occurred while linking 
pp.pas(252,36) Error: Error while linking
pp.pas(252,36) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [ppc] Error 1
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.x86_64-iphonesim] Error 2

    On Wednesday, June 9, 2021, 11:50:08 AM PDT, Jonas Maebe via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:  
 On 09/06/2021 01:15, conlin664 via fpc-pascal wrote:
> So, I figured I'd jump to 3.2.2

Sorry, I didn't get around yet to building and uploading the iOS
cross-compiler and units for 3.2.2

As your build problem, don't start with that 3.0.5 compiler, but with
plain 3.0.4 or 3.2.2 ppcx64 (or add CPU_SOURCE=x86-64 to hack around the

fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210616/ec49b777/attachment.htm>

More information about the fpc-pascal mailing list