* Summary: cxx compiler error
@ 2001-06-08 22:30 Noboom2
0 siblings, 0 replies; only message in thread
From: Noboom2 @ 2001-06-08 22:30 UTC (permalink / raw)
To: tru64-unix-managers
Greetings all-
I'm happy to summarize that the problem was a foolish mistake on my part, and
that my cxx code is now working to specification. My question concerned a
lot of linker errors I was receiving when trying to link functions from
several libraries, some of which were C and some were C++.
It turns out that when creating a library in c++ it is important to include
the object files the compiler puts into the cxx_repository, which are the
instantiated templates of objects in the standard library, among other
things. By adding the following to the 'ar' command when creating the
library
cxx_repository/*.o
ar included the instantiations and I was able to correct the linker problems
when trying to create programs.
Thanks to several people who replied (some of whom I may have lost the email
address for -- sorry),
who included:
Hugues.Talbot@cmis.CSIRO.AU
lola@gene.COM
tom@radar.tu-graz.ac.at
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-08 22:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-08 22:30 Summary: cxx compiler error Noboom2
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox