Version française
Home     About     Download     Resources     Contact us    
Browse thread
Linking with libstdc++.so
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Guillaume Yziquel <guillaume.yziquel@c...>
Subject: Linking with libstdc++.so
Hello.

I've been trying to compile a library with C++. With something like:

ocamlc -verbose -a -dllib dllmystuff_stubs.so -dllib libstdc++ -o myStuff.cma myStuff.cmo

However, on Debian systems, there is a libstdc++.so.5 and a libstdc++.so.6 file. No 
libstdc++.so file. So the -dllib libstdc++ option doesn't locate properly the library. How do you 
manage to have more control over the name of the library without resorting to using an ugly 
symlink in /usr/lib/ocaml/stublibs?

All the best,

Guillaume Yziquel.