GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #13089

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Adriaan van Os
Subject: gpc on mac
Date: 29 Dec 2005, 18:38:32

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

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
Tom Schneider gpc on mac 29 Dec 2005, 09:57:24

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).