template instantiations in archive files?

Alexandre Oliva oliva@dcc.unicamp.br
Sat Oct 3 00:00:00 GMT 1998


Daniel X Pape <dpape@canis.uiuc.edu> writes:

> I think that compiling with -frepo can help, but since I don't think I
> can link the rpo files into the libraries, I am not sure how to proceed.

As suggested in the info file, if you want to create a library with
all needed templates instantiated, you should first try to link the
components of the library into an executable.  This will probably end
up failing because of missing symbols, but all available templates
will be instantiated, so that, when you create the library, the object 
files will be complete.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc mailing list