From: ts Date: 2002-10-15T21:38:31+09:00 Subject: Re: extensions in C++ (iostream) >>>>> "S" == Simon Strandgaard <0bz63fz3m1qt3001@sneakemail.com> writes: S> cc -shared -Wl,-soname,Test.so -L/usr/local/lib -o Test.so test.o -L. -lruby -lc Change the call to `cc' by a call to `c++' i.e. c++ -shared -Wl,-soname,Test.so -L/usr/local/lib ... This is the option CONFIG["LDSHARED"], something like (to put in extconf.rb) if CONFIG["LDSHARED"] == "cc -shared" CONFIG["LDSHARED"] = "c++ -shared" end Guy Decoux