On Monday, May 12, 2003, at 12:40 PM, Lachlan Andrew wrote:
> Unfortunately, locate libstdc++ on the SourceForge compile farm only
> finds .a files:
>
> lha@ucf-cf-ppc-macosx-2:~/htdig$ locate libstdc++
> /usr/lib/gcc/darwin/2.95.2/libstdc++.a
> /usr/lib/gcc/darwin/3.1/libstdc++.a
> /usr/lib/libstdc++.a
> lha@ucf-cf-ppc-macosx-2:~/htdig$
>
> That would certainly explain why it doesn't find the symbols! Where
> is the file on your system, Jim? Does anyone know why it isn't on
> the compile farm??
On my system it is located in /usr/lib/gcc/darwin/3.1/private/A. Also,
there is a dynamic link in /usr/lib/gcc/darwin/3.1/private/.
/usr/lib/gcc/darwin/2.95.2/libstdc++.a
/usr/lib/gcc/darwin/3.1/libstdc++.a
/usr/lib/gcc/darwin/3.1/private/A/libstdc++.dylib
/usr/lib/gcc/darwin/3.1/private/libstdc++.dylib
/usr/lib/libstdc++.a
This may be a relatively recent addition as I don't recall the .dylib
files being present at this location the last time I dug into the
problem of unresolved symbols. But it has been a while, so I might be
mistaken. Then again, if they are not present on the compile farm...
Perhaps there is a difference in OS X version or installed Developer
Tool updates. I am using 10.2 (Jaguar) and the Developer Tools that
came with that release, including the October and December updates.
[magni:~] greyleaf% uname -a
Darwin magni.yggdrasill.net 6.6 Darwin Kernel Version 6.6: Thu May 1
21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC Power
Macintosh powerpc
[magni:~] greyleaf% gcc --version
gcc (GCC) 3.1 20020420 (prerelease)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Jim
|