Mail Archives: djgpp/1995/02/21/18:51:37
Scott:
Regarding your message:
>
> Under dos, using djgpp, I include _string.h and
> link in libgpp.a, but I get undefined reference errors (undefined String
> class functions, that is).
I've got a flex/bison program which uses the GNU String class,
and I've had no problem linking it. Here's what's in my bison source
(which is copied into the C++ source):
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <_string.h>
My link step is:
gcc -o asmtos.cof lexyy.o asmtos_t.o -lgpp
> I'm using 1.12m2.
So'm I. Could you send me a self-contained C++ source file that
illustrates the problem, along with your linkage step? I'd be happy
to try it here and see what happens.
John Bodfish
bodfish AT notis DOT com
- Raw text -