www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/10/13/06:16:46

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3DA94808.B492B6@phekda.freeserve.co.uk>
Date: Sun, 13 Oct 2002 11:16:40 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Cc: pavenis AT lanet DOT lv
Subject: Re: djdev 2.03 refresh mk2 and GCC 3.2 ?
References: <10210070203 DOT AA18995 AT clio DOT rice DOT edu> <1722041542352 DOT 20021012124935 AT softhome DOT net>
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019