Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Rajanish Calisa" <rcalisa@ozemail.com.au>
Subject: Re: How to use libcxx.a instead of libcxx.so
Date: Thu, 8 Nov 2001 08:16:54 +1100	[thread overview]
Message-ID: <XfhG7.2220$E81.62998@ozemail.com.au> (raw)
In-Reply-To: 301aa829.0111061449.5cb79ce5@posting.google.com


"Bruce Bailey" <bjb@plaza.ds.adp.com> wrote in message
news:301aa829.0111061449.5cb79ce5@posting.google.com...
> Hi
>
> How can I have an executable use libcxx.a instead of trying to load
> libcxx.so?  I have a program created with cxx version 6.3 and I need
> to have it run on a client system that may have the .so's from version
> 6.1.
>
> I was hoping I could simply link the 6.3 library directly into the
> executable for the time being.  Unfortunately, the loaded insists on
> trying to load libcxx.so as well.
>
> Any help would be appreciated.
>
There are two ways of solving this problem.

1. You have mentioned this above, use libcxx.a. The linker/compiler driver
    has an option to link against a static version. You need to provide this
    in the link line just before -lcxx.

2. The C++ 6.3 kit will come with a tar file of the form CXXREDIST*. This
    is the part of the compiler that can be redistributed, i.e. installed on
   all machines that your application is installed on.

rajanish...




  reply	other threads:[~2001-11-07 21:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06 22:49 How to use libcxx.a instead of libcxx.so Bruce Bailey
2001-11-07 21:16 ` Rajanish Calisa [this message]
2001-11-14  7:10   ` Rob Nichols
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox