Re: Help for shared library(Sun CC and GCC)

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

 



"Zhao Li,SCNB R&D NC(BJ)" <zhaoli@xxxxxxxxxxx> writes:

> Still want to ask, do GCC have special compile or link flags
> (additionally, plus the cooperation of programming) to make it
> linked library be used by CC linked program?

No.

Your only hope is to write an extern "C" interface for the library, if
possible, and compile it with Sun CC.  Then you can call those
routines from code compiled by gcc.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux