How to force gcc to link unreferenced, static C++ objects from a library

前端 未结 2 1430
鱼传尺愫
鱼传尺愫 2020-12-05 10:16

I\'m using a C++ library that can be built as either a shared or a static library. This library uses a factory technique, where static objects register themselves when the p

2条回答
提交回复
热议问题