Mail Archives: cygwin/1999/01/18/22:07:49
On Mon, 18 Jan 1999, Corinna Vinschen wrote:
> > gcc -DPWBUFSIZ=512 -DPWBUFPOS=256 -DPWKEYWORD="\"\107\056\114\273\146\231\033\266\"" -c cron.cc -o cron.o
> > In file included from cron.cc:31:
> > CString.h:23: String: No such file or directory
> > make: *** [cron.o] Error 1
>
> Make has to compile with g++ instead of gcc. This works in my environment!
> If you don't get it to work, try:
>
> CXXFLAGS=-I/usr/include/g++ $(PWBUFSIZ) $(PWBUFPOS) $(PWKEYWORD)
> ^ according to your standard include path.
>
There is no "String" in libg++ (it's String.h); besides, Cygnus egcs
distributions (in b20/20.1) do not have libg++, and I have finally dropped
support for it in egcs-1.1.1.
Which basically means that you'll have to build libg++ yourself (and watch
out for String.h vs string.h -- you'll need to create header.gcc file to
remap the names). My egcs-1.1 distribution does have it, and you can
probably just use the libg++ from there.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -