05-07-14 08.31, skrev Ingemar Ragnemalm följande:
> Sorry to repeat myself, but after two complete reinstallations of Xcode
> and FPC, I believe I have a correct setup, Pascal compilation works
> better, but the linking problem remains.
> - If the C file doesn't compile, I get a link error. Correct,
> acceptable, although strangely random.
> - If the C file is compiled, then "_main" doesn't exist and the program
> can't run. This is alarming, suggests that any C file knocks out the
> Pascal main program as starting point?
> Similar experiences, anybody? What can be done? Must the main program
> be in C?
Which version of XCode are you using ?
Also try to compile everything by 'hand', using command line tools only, e.
g. use gcc and fpc directly.