Mail Archives: djgpp-workers/2002/10/13/06:16:46
Hello.
Laurynas Biveinis wrote:
>
> >> Is there any way I could try to do that? At least it doesn't build out
> >> of the box, and I'm sure it has been discussed there when I didn't
> >> follow this list. Surely GCC 3.2 isn't just for djdev 2.04?
>
> > Are there other header problems? I didn't do any GCC builds.
>
> Haven't seen any yet.
>
> However, it fails like this with GCC 3.2:
>
> [...]
> gcc -g mkdoc.cc -o ../../hostbin/mkdoc.exe
> c:\devel\djgpp\tmp/ccPqGmvJ.o:c:/devel/djgpp/src/mkdoc/mkdoc.cc:118: undefined reference to `operator new(unsigned long)'
[snip]
It works for me:
bash-2.04$ make clean
./../misc.exe rm *.o *.d *.i makefile.oh
bash-2.04$ make
building new response file
gcc -g mkdoc.cc -lstdcxx -o ../../hostbin/mkdoc.exe
bash-2.04$ gcc --version
gcc.exe (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Do you have revision 1.4 of src/mkdoc/Makefile? Andris made a change to link
in libstdc++:
# Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details
# Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details
TOP = .
include $(TOP)/../makefile.inc
all :: $(HOSTBIN)/mkdoc.exe
$(HOSTBIN)/mkdoc.exe : mkdoc.cc
$(GCC) mkdoc.cc $(LIBSTDCXX) -o $@
clean ::
@-$(MISC) rm $(HOSTBIN)/mkdoc.exe
- Raw text -