Le 11/03/2011 05:43, Cyril Brulebois a écrit :
> noticed “thanks” to a buildd glitch (g++ missing):
> | /usr/bin/ocamlc -c soundtouch.mli
> | /usr/bin/ocamlc -c soundtouch.ml
> | ocamlmklib      -L/usr/lib   \
> |                                 -o soundtouch_stubs  soundtouch_stubs.o 
> -lSoundTouch -lstdc++  \
> | 
> | /usr/bin/ld: cannot find -lstdc++
> 
> Last I checked, one links C++ code through g++, not through ld …
> -lstdc++. You may want to investigate that.

So you mean that by using some specific library, one should change
linker? Doesn't sound right to me... Do you have any reference that
explains why linking to -lstdc++ without g++ is bad practice? I've
already heard of that, but couldn't find any decent explanation.


Cheers,

-- 
Stéphane




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to