Tom Schneider wrote:
Adriaan:
[bluebird:~/now/t] tds% /Developer/Pascal/gpc345u2/bin/gp test.p /usr/bin/ld: can't locate file for: -lSystemStubs collect2: ld returned 1 exit status
That is strange, on Mac OS X 10.4 libSystemStubs.a can be found in /usr/lib. But -- maybe they are installed as part of Xcode instead of the system software, did you install Xcode 2.x ?
I probably asked for everything when I installed OS X, but I don't recall. If you tell me exactly where to look and for what I will do that.
The critical file is /usr/lib/libSystemStubs.a.
There is no such file.
[bluebird:/usr/lib] tds% pwd /usr/lib [bluebird:/usr/lib] tds% ls libS* libSaturn.a libSystem.B_profile.dylib* libSaturn.dylib* libSystem.dylib@ libSystem.B.dylib* libSystem_debug.dylib@ libSystem.B_debug.dylib* libSystem_profile.dylib@
OK, I found out that libSystemStubs.a is inistalled by Xcode 2.x, not by the system software.
To find a solution, again my question: has Xcode 2.x been installed on that machine ?
Again my puzzlement: I don't know what to look for. Please tell me *exactly* how to determine this. What command(s) should I type? What places in the file system should I go to to look for exactly what files? (For example, do you know if there is a Boogeyman program on your machine? Where would you look if you never heard of a Boogeyman? Where would you look if you *had* heard of a Boogeyman but didn't know where it was?)
If not, has Xcode 1.x been installed on that machine ?
See above.
'Help' is, as usual on the Mac, pretty useless.
google Xcode http://developer.apple.com/tools/xcode/ download "Xcode Tools 2.2" requires ADC Member Log In which I did not do. I don't know if this is a distraction or a help because I don't know what's on my machine at the moment. Nothing called X(anything) under /Applications; only X11.app under /Applications/utilities.
If not, has the assmbler/linker from my website been installed ?
No.
In that case, since there apparently is a linker on the machine and no libSystemStubs.a, I assume that Xcode 1.x has been installed (maybe the machine was updated later to Mac OS X 10.4). You can find out with "Get Info" in the Mac OS X Finder for the file /Developer/Applications/Xcode (or /Developer/Applications/Xcode.app). Anyway, an update to Xcode 2.x should solve the problem and install libSystemStubs.a. You can download Xcode from Apple. The ADC membership for the purpose only requires free registration, see http://developer.apple.com/membership/online.html. Also, your copy of Mac OS X system software may (or may not) have a third CD and Xcode is on that third CD, which saves you a 800 MB download (or Xcode may be in a special folder if the system software is on DVD).
I would have to look if I can add libSystemStubs.a to the downloads from my website for those who don't have Xcode installed or an older version (if the license permits it). Even then, I don't know if it's worth the trouble, because other problems may (or may not) arise when Xcode tools are missing or not up-to-date.
Regards,
Adriaan van Os