[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: g++/stl -frepo problem? (was: library renaming due to changed libstdc++ configuration)

On Sat, Nov 19, 2005 at 04:08:12PM +0900, Miles Bader wrote:
> Summary of problem:  compilation with g++ gives "undefined reference"
> for references to some STL template function instantiations, despite
> using -frepo (which AFAIK should automatically recompile something to
> instantiate all missing functions).  [See previous message for some
> error output.]

-frepo is an optimization switch, designed to avoid multiple instantiations
of the same template (reducing its size). You should be able to compile just
fine without it, but your binaries will be bigger.

BTW, you are _linking_ with -frepo as well, right?

/* Steinar */
Homepage: http://www.sesse.net/

Reply to: