This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]