Linking using egcs (-frepo question)
Mark Schaefer
mschaefer@dsai.com
Thu Nov 20 14:15:00 GMT 1997
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
More information about the Gcc
mailing list