[Starkit] i really dislike gcc ...

Arjen Markus arjen.markus at wldelft.nl
Tue Sep 27 15:41:33 CEST 2005


"Larry W. Virden" wrote:
> 
> Okay, I fixed a variety of stupid typos in my version of genkit,
> and now have it adding in the flags.  But of course, metakit still
> is failing:
> 
> RUN: g++ -o kitsh pwb.o kitInit.o zlib.o rechan.o tclAppInit.o ../tcl/libtcl8.4.a ../vfs/libvfs1.3.a ../zlib/libz.a ../mk/Mk4tcl.a -L/ldatae/tclkit/install/lwv28awu/lib -ltcl8.4 -ldl -lsocket -lm -L/vol/gnu/gcc-3.4.4/lib -R/vol/gnu/gcc-3.4.4/lib -L/vol/gnu/gcc-3.4.4/lib -R/vol/gnu/gcc-3.4.4/lib -Wl,-Bstatic -lstdc++
> 
> /vol/gnu/gcc-3.4.4/bin/ld: cannot find -lgcc_s
> collect2: ld returned 1 exit status
> 
> And here's the fun thing:
> 
> $ ls -l /vol/gnu/gcc-3.4.4/lib/libgcc_s*
> lrwxrwxrwx   1 nobody   nobody        13 Jul  7 09:01 /vol/gnu/gcc-3.4.4/lib/libgcc_s.so -> libgcc_s.so.1
> -rw-r--r--   1 nobody   root      117650 Jun 30 15:53 /vol/gnu/gcc-3.4.4/lib/libgcc_s.so.1
> 
> So it is there. I've no idea what else I have to do to convince gcc
> to see something that's there.

Could it be the flag "-Bstatic" that prevents gcc from considering the
.so file?

Regards,

Arjen



More information about the Starkit mailing list