[fpc-devel] Second version of FPC for iPhone SDK 2.x available

dmitry boyarintsev skalogryz.lists at gmail.com
Fri Mar 20 16:46:15 CET 2009


hello Jonas,

thanks for advancing with fpc for iPhone development.

i have a question: i'm using fpc trunk, so copmiled i386 units are not
located at  /usr/local/lib/fpc/2.3.1/units/i386-darwin. Is there any
way to reconfigure the building script, so compiled units are taken
from the proper directory?


i guess, it's the reason, i'm getting compilation error:

Compiling to /Users/igorkokarev/iPhoneFPC2/iphonetest2/build/iphonetest2.build/Debug-iphonesimulator/iphonetest2.build/DerivedSources-normal/i386
Free Pascal Compiler version 2.3.1 [2008/10/27] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Darwin for i386
Compiling /Users/igorkokarev/iPhoneFPC2/iphonetest2/PascalLibrary.pas
PPU Loading /usr/local/lib/fpc/2.3.1/units/i386-darwin//rtl/system.ppu
PPU Invalid Version 95
error: Can't find unit system used by PascalLibrary
error: Compilation aborted


sorry, I'm not much of XCode!

Thanks,
Dmitry



More information about the fpc-devel mailing list