Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Why doesn't CXXREDIST651V37 include libcxxma?
@ 2005-11-04 16:15 china
  2005-11-08 15:34 ` Ed Vogel
  0 siblings, 1 reply; 3+ messages in thread
From: china @ 2005-11-04 16:15 UTC (permalink / raw)


When compiling C++ programs with -model ansi, libcxxma gets linked in
rather than libcxx ('ma' in libcxxma = 'Model Ansi' I presume). Why
isn't libcxxma.so included in CXXREDIST651V37? A bug?

-- 
albert chin (china @at@ thewrittenword .dot. com)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why doesn't CXXREDIST651V37 include libcxxma?
  2005-11-04 16:15 Why doesn't CXXREDIST651V37 include libcxxma? china
@ 2005-11-08 15:34 ` Ed Vogel
  2005-11-09 13:15   ` china
  0 siblings, 1 reply; 3+ messages in thread
From: Ed Vogel @ 2005-11-08 15:34 UTC (permalink / raw)



<china@thewrittenword.com> wrote in message 
news:idadnTiEpbuXFPbenZ2dnUVZ_tOdnZ2d@speakeasy.net...
> When compiling C++ programs with -model ansi, libcxxma gets linked in
> rather than libcxx ('ma' in libcxxma = 'Model Ansi' I presume). Why
> isn't libcxxma.so included in CXXREDIST651V37? A bug?
>

The model ansi object model was added in Version 6.3 of the C++ compiler
which became available in early 2001.  Our intentions were to roll this
out and to have isv's make their libraries available in both ansi and arm
object models and to eventually make our libraries available in the
redistribution kit.  In the manpage, we also stated (as a limitation
or warning) that users choosing to use model ansi would have to have
access to all of their sources and recompile them with a consistent
object model.

The complete rollout of model ansi with isv's was not completed due to
the Alpha announcement that was made in June 2001.  Model ansi continues
to be available and supported, but the libraries are not included in
the redistribution kit.  If you are distributing libraries you should
not assume that your customer can use the model ansi object model due
to a dependency on other vendor libraries.  If you are distributing
complete binaries, I would suggest that you link against the archive
library which would eliminate the need to have the libcxxma.so in
the redistribution kit.

Ed Vogel

HP/Compaq/DEC C/C++ Engineering.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Why doesn't CXXREDIST651V37 include libcxxma?
  2005-11-08 15:34 ` Ed Vogel
@ 2005-11-09 13:15   ` china
  0 siblings, 0 replies; 3+ messages in thread
From: china @ 2005-11-09 13:15 UTC (permalink / raw)


Ed Vogel <edward.vogel_stop_the_spam@hp.com> wrote:
> 
> <china@thewrittenword.com> wrote in message 
> news:idadnTiEpbuXFPbenZ2dnUVZ_tOdnZ2d@speakeasy.net...
>> When compiling C++ programs with -model ansi, libcxxma gets linked in
>> rather than libcxx ('ma' in libcxxma = 'Model Ansi' I presume). Why
>> isn't libcxxma.so included in CXXREDIST651V37? A bug?
> 
> The complete rollout of model ansi with isv's was not completed due to
> the Alpha announcement that was made in June 2001.  Model ansi continues
> to be available and supported, but the libraries are not included in
> the redistribution kit.  If you are distributing libraries you should
> not assume that your customer can use the model ansi object model due
> to a dependency on other vendor libraries.  If you are distributing
> complete binaries, I would suggest that you link against the archive
> library which would eliminate the need to have the libcxxma.so in
> the redistribution kit.

According to http://h30097.www3.hp.com/cplus/spd.html, libcxxma.so is
not considered a file in the "RTL image". So, we cannot legally
redistribute libcxxma.so if we were to create our own CXXREDIST651V37
bundle for customers. Was this simply a typo? If libcxx.so is
redistributable, then it makes sense to allow libcxxma.so to be
redistributed as well. Neither the CXXLIB651 nor CXXLIB710 packages
contain libcxxma.so.

We have no problem creating binaries with -use_non_shared_libcxx.
However, if we create a library with this, won't it cause linking
problems if another library/binary links against it because the
symbols are part of the library?

-- 
albert chin (china @at@ thewrittenword .dot. com)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-09 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-04 16:15 Why doesn't CXXREDIST651V37 include libcxxma? china
2005-11-08 15:34 ` Ed Vogel
2005-11-09 13:15   ` china

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