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: libstdc++ linked as libstdc++.a


Hi,

 Right, you do have to link statically to libs,
you dont want to require be installed on target
hosts. One way to do that is to tell g++ not to
link with standard libs and handle that yourself
explicitly, which enables you to choose individual
libs to link with dynamically or statically.
 You might need to get g++ to tell you, which
supporting libs need to be linked in, using the -v
option during an ordinary linking of your program.

Yours sincerely,

Bjorn


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