This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Linking using egcs (-frepo question)
- To: egcs at cygnus dot com
- Subject: Linking using egcs (-frepo question)
- From: "Mark Schaefer" <mschaefer at dsai dot com>
- Date: Thu, 20 Nov 1997 15:14:24 -0700
All:
I have a program which uses template libraries. The problem is that I get
undefined refrences because the ar utility doesn't instantiate the required
template code. Gcc runs the collect2 program to instantiate the template code,
but then complains about main(), which led me to believe that it can't generate
static libraries. ar doesn't run collect2, which causes no end of undefined
symbol messages.
Is there an option I'm missing, or do I have to pull some magic for
this to work right.
Thanks for any help!
--
Mark Schaefer