This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/37079] cannot find -lgcc_s



------- Comment #6 from 3dw4rd at verizon dot net  2009-12-09 02:00 -------
I have this problem of MacOSX 10.3
$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)

When I do a make on an empty directory it gets all the way into stage3 linking
libstdc++ until this:

/usr/bin/ld: can't locate file for: -lgcc_s.10.4

There are several libgcc_s around:

MacOSX:~/obj ed$ find . -name libgcc_s\*
./gcc/libgcc_s.1.dylib
./gcc/libgcc_s_ppc64.1.dylib
./gcc/libgcc_s_x86_64.1.dylib
./powerpc-apple-darwin7.9.0/libgcc/libgcc_s.1.dylib
./powerpc-apple-darwin7.9.0/libgcc/libgcc_s.dylib
./prev-gcc/libgcc_s.1.dylib
./prev-gcc/libgcc_s_ppc64.1.dylib
./prev-gcc/libgcc_s_x86_64.1.dylib
./prev-powerpc-apple-darwin7.9.0/libgcc/libgcc_s.1.dylib
./prev-powerpc-apple-darwin7.9.0/libgcc/libgcc_s.dylib
./stage1-gcc/libgcc_s.1.dylib
./stage1-gcc/libgcc_s_ppc64.1.dylib
./stage1-gcc/libgcc_s_x86_64.1.dylib
./stage1-powerpc-apple-darwin7.9.0/libgcc/libgcc_s.1.dylib
./stage1-powerpc-apple-darwin7.9.0/libgcc/libgcc_s.dylib

I'm actually surprised by the ppc64 and x86_64 libs - I'm not building a cross
compiler.


-- 

3dw4rd at verizon dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |3dw4rd at verizon dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37079


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]