This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: g++ problem "-fno-implicit-templates"
- To: Russ Vreeland <russv at ikos dot com>
- Subject: Re: g++ problem "-fno-implicit-templates"
- From: "Steven J. Zeil" <zeil at cs dot odu dot edu>
- Date: Fri, 14 Nov 1997 13:30:06 -0500 (EST)
- cc: gnu-win32 at cygnus dot com
On Thu, 13 Nov 1997, Russ Vreeland wrote:
>
> template class vector<transitions>; // last line in .cc file
>
> It still doesn't work, the error message now contains:
>
> SignalDB.o(.text+0x1668):SignalDB.cc: undefined reference to
> `uninitialized_fill
> _n(sigActList *, unsigned int, sigActList const &)'
> SignalDB.o(.text+0x16e1):SignalDB.cc: undefined reference to
> `uninitialized_copy
[list of messages omitted]
>
> What can I do to make this work? I'm about ready to give up on gnu-win32.
>
Go to http://www.metabyte.com/~fbp/stl/effort.html, get the latest adapted
version of the STL.
Unpack it, and reconfigure (from within a bash shell) this way:
CXX=g++ CXXFLAGS="-g" ./configure --enable-malloc
[Adjust the CXXFLAGS to whatever flags you use most often]
Use -I options in your compilations to look at the directory containing
this adapted version before the gnu-win32 include directories, and don't
bother with -fno-implicit-templates.
SJZ
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".