This is the mail archive of the gcc@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]

Cannot link C++ programs statically with GCC 3.1 (CVS)?


Hija,

I cannot link C++ programms statically anymore with the currect CVS gcc
because there's no static version of libgcc_s avaible which seems to be
really needed;

g++ -o Compress Compress.o Huffman.o bitfstream.o  -Wl,-static -lstdc++	
/usr/bin/ld: cannot find -lgcc_s

Maybe I just miss something hers so what's the preferred way to build 
static binaries now?

-- 
Servus,
       Daniel


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