| delorie.com/archives/browse.cgi | search |
| Message-Id: | <199810021715.TAA60114@ieva06.lanet.lv> |
| From: | "Andris Pavenis" <pavenis AT lanet DOT lv> |
| To: | djgpp AT delorie DOT com, Philosopher DOT bbs AT titan DOT cc DOT ntu DOT edu DOT tw (ªüõ) |
| Date: | Fri, 2 Oct 1998 19:20:17 +0300 |
| MIME-Version: | 1.0 |
| Subject: | Re: default functions in g++ ? |
| In-reply-to: | <3QhCAB$Par@titan.cc.ntu.edu.tw> |
| X-mailer: | Pegasus Mail for Win32 (v3.01b) |
| X-MIME-Autoconverted: | from Quoted-printable to 8bit by delorie.com id MAA08368 |
From: Philosopher DOT bbs AT titan DOT cc DOT ntu DOT edu DOT tw (ªüõ)
Subject: default functions in g++ ?
Date sent: 01 Oct 1998 03:58:34 GMT
Organization: CSZone BBS
To: djgpp AT delorie DOT com
>
> I have a few c++ programs.
>
> I compile them without linking with libg++.
>
> At the linkage phase, the following errors were reported:
>
> undefined reference to ___bultin_vec_new
> undefined reference to ___delete
> undefined reference to ___eh_pc
> undefined reference to ___throw
> undefined reference to _terminate
>
> Where can I find documents describing these functions?
>
> Is there any source code about these functions?
>
> --
> ¡° Origin: µ{¦¡³]p¼Ö¶é ¡» From: titan.ee.ntu.edu.tw
>
You are mixing versions of gcc and libstdc++ and libg++. My
experience shows that it is Ok for C but not for C++ (!!!!)
e.g. using libstdc++-2.8.1.1 or libg++-2.8.1.1 with gcc-2.7.2.1.
The same problem will be when port of egcs-1.1 will be released
(perhaps when DJGPP-2.02 will be released).
So ALL C++ sources MUST be compiled with the same version of
gcc (even mixing gcc-2.8.0 and gcc-2.8.1 is not Ok as shows my
experience)
Andris
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |