On Tue, 15 Oct 2002 21:38:31 +0900
ts <decoux / moulon.inra.fr> wrote:

> >>>>> "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

it does the trick, thanks alot.  Im a happy man ;-)

Simon Strandgaard