[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: will different compiler generate different symbols?



Liang Guo <bluestonechina@gmail.com> writes:

> Does it mean when using different compiler, the SAME library source code
> will generate different symbols?

Yes.  C++ mangling can vary between compiler versions, as can what symbols
are generated in a shared library depending on what the shared libray
does.

> If it does, which compiler should I use to compile my packages and to
> generate symbols?

Whatever the current Debian default compiler as installed by
build-essential is.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: