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]

Re: C++ program with C shared object?


Hi,

 If you want to use the linker directly to link object files, you do
have
to tell it, where to find quite a few libraries, including the standard
libraries provided by a C++ compiler. I would suggest using the compiler
to drive the linker, that way it will handle this sort of thing for you,
and have it pass your special linker options to the linker.


Yours sincerely,

Bjorn


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