This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gcc-2.95 and -fhonor-std
- To: gcc@gcc.gnu.org
- Subject: gcc-2.95 and -fhonor-std
- From: Ryszard Kabatek <rysio@rumcajs.chemie.uni-halle.de>
- Date: Wed, 18 Aug 1999 14:34:19 +0200 (CEST)
- Reply-To: Ryszard Kabatek <kabatek@chemie.uni-halle.de>
I get a linker error if I try to use the -fhonor-std option.
I compiled the compiler with the standard options.
I get the error on Linux libc5 and glibc2 systems.
Sould I compile the compiler with a special option?
BTW. If I include the <rope> header with gcc-2.95.1
(Linux, libc5) I get a lot of warnings.
// x.cc
#include <exception>
int main(){std::exception e;}
eg++ -fhonor-std x.cc
/tmp/cc1H7VkX.o: In function `main':
/tmp/cc1H7VkX.o(.text+0xe): undefined reference to
`std::exception::exception(void)'
/tmp/cc1H7VkX.o(.text+0x2a): undefined reference to
`std::exception::~exception(void)'
/tmp/cc1H7VkX.o(.text+0x41): undefined reference to
`std::exception::~exception(void)'
/tmp/cc1H7VkX.o(.text+0x56): undefined reference to `std::terminate(void)'
collect2: ld returned 1 exit status
Ryszard Kabatek
Martin-Luther University Halle-Wittenberg, Department of Physical Chemistry
Geusaer Str. 88, 06217 Merseburg, Germany
Tel. +49 3461 46 2466 Fax. +49 3461 46 2129