This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Help for shared library(Sun CC and GCC)
- From: "Zhao Li,SCNB R&D NC(BJ)" <zhaoli at siemens dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 28 Dec 2006 15:30:22 +0800
- Subject: Help for shared library(Sun CC and GCC)
Hi, all
I want to ask a question.
For example, if project A is compiled and builded to shared library by GCC, but another project B is required to be compiled by Sun CC and B need function support of A. Do this scenario is supported?
In fact, I'm facing this problem, and I find B could not be linked with A. (however, if we bulied B with GCC also, B is builded succesfully).
but I think it's certain that shared lib should not depend compilers. Then I want to ask how can we compile and build A? Do it need special compile and link flags?
Thank you.