Mail Archives: djgpp/1996/11/18/01:37:18
On Sun, 17 Nov 1996, Christian Mangold wrote:
> gcc accum1.o -frepo -frtti -lgpp -o test
> accum1.o: In function `main':
> accum1.cc:14: undefined reference to `vector<int>::vector(unsigned
[snip]
> Any advice to get this example run would be very welcome.
Advice: read the DJGPP FAQ list. Section 8.7 there explains that you
should either use gxx instead of gcc when linking C++ programs or append
all the C++ libraries to the link command lines if you insist on using
gcc.
The latest version of the FAQ is available as v2/faq202b.zip from the
same place you get DJGPP.
- Raw text -