Static linking C++

John Love-Jensen
Thu Apr 13 12:33:00 GMT 2006

Hi Olivier,

>RTTI is not a problem because I am not using it at all.

If you are using exceptions, you are using RTTI.

> Supposing a  library A (C++) used by a program and I wanted to link A
> statically within the program. Is there anyway to use exception within
> the limit of the library or must I remove all exception from the
> library ?

Yes, you may use exceptions, either within the limit of the library or
outside of the library.


More information about the Gcc-help mailing list