Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Ken Block USG <block@zk3.dec.com>
Subject: Re: __cxx_v60_dispatch__X4need3new8libcxxso
Date: 1999/01/21	[thread overview]
Message-ID: <36A79BBE.B36F7568@zk3.dec.com> (raw)
In-Reply-To: 36A7876A.54D6558@zk3.dec.com

[-- Attachment #1: Type: text/plain, Size: 2685 bytes --]

Subject:
          Re: [Fwd: __cxx_v60_dispatch__X4need3new8libcxxso]
      Date:
          Thu, 21 Jan 1999 16:24:16 -0500
     From:
          Ken Block USG <block@zk3.dec.com>
       To:
          rceci@master.adams.com, Kenneth Block <block@zk3.dec.com>
 References:
          1 , 2




No, you can link your programs using "cc", we recommend using "cxx" because we
encapsulate the knowledge of how to link correctly there. If you do a "cxx -v" on a

link, you will see the command line we pass on to "cc" for linking. You can then
take
this command line and use it yourself. When creating the instructions for your
users,
you will need to use this as a guide. See section 1.2 of the using guide:

1.2 Linking a DIGITAL C++ Program

  DIGITAL C++ uses cc to invoke the ld linker to generate code. Always use the cxx
command to invoke the linker.

  Linking through the cxx command ensures that all the necessary link options are
passed to the ld linker. If your DIGITAL C++ program is
  not linked properly, some static objects will not be initialized at program
startup.
If a module is built using DIGITAL C++ Version 6.n, it must
  be linked with the Version 6.n library.

  If you choose to use the ld linker directly, you might need to modify your ld
command whenever you install a new version of the DIGITAL
  C++ compiler or the DIGITAL UNIX operating system. After the installation, follow

these steps:

    1.Invoke the cxx command and specify the -v option to display the ld command in

use.
    2.Compare this ld command with your ld command and make any necessary changes.

  If you are using templates, you must modify the -ld command by replacing the
-input
argument with a list of your template instantiation
  object files. The replacement string is normally cxx_repository/*.o.

  To use automatic template instantiation, you must link with cxx.

  See the cxx(1) and the ld(1) reference pages for more information.

Rob Cecil wrote:

> Ken,
>
> glad you are cruising the news.  Indeed I had hardcoded "-L/usr/shlib" in a few
of
> my makefiles that build libraries.  I am rebuilding right now.
>
> Info:
> I am linking my libraries (~ 20 ) with cxx, but linking my exe with cc.  My exe
> contains c, c++ and fortran code.  We allow our customers to relink the
executable
> to include custom user (c or fortran) objects, and really do not want to requiire

> customers to purchase cxx just to do that.  I have been successful in earlier
> versions  of our program to link everything with cc, but that was using objects
> generated using cxx 5.4, and the 5.4 runtime.  Do you suspect that I will now
start
> having problems, because I am using 6.1?
>
> Thanks
> Rob

[-- Attachment #2: Card for Kenneth Block --]
[-- Type: text/x-vcard, Size: 336 bytes --]

begin:          vcard
fn:             Kenneth Block
n:              Block;Kenneth
org:            CTG C/C++ Compiler
adr:            110 Spit Brook Road;;M/S ZKO3-2/W02;Nashua;NH;03062;USA
email;internet: block@zk3.dec.com
tel;work:       603-884-2819
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


  reply	other threads:[~1999-01-21  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-21  5:00 __cxx_v60_dispatch__X4need3new8libcxxso rceci
1999-01-21  5:00 ` __cxx_v60_dispatch__X4need3new8libcxxso rceci
1999-01-21  5:00   ` __cxx_v60_dispatch__X4need3new8libcxxso Ken Block USG
1999-01-21  5:00     ` Ken Block USG [this message]
1999-01-24  5:00   ` __cxx_v60_dispatch__X4need3new8libcxxso Brian J. McCarthy
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