Are C++ exceptions supported on MIPS platform?



I'm using Visual Studio 2005 to build a DLL that will run under Windows CE
5.0 on a MIPS platform. (This DLL already works fine on Windows XP and
Windows CE 5.0 on the CEPC platform.) When I try to build for MIPS, I get
many linker errors like the following:



error LNK2001: unresolved external symbol "const type_info::`vftable'"
(??_7type_info@@6B@)





After searching the newsgroups a bit, I found out that this error can result
if the compiler for the platform does not support RTTI, and therefore doesn't
support C++ exceptions. My code uses exceptions as well as the C++ Standard
Library.



I'd like to confirm that it is indeed the case that exceptions are not
supported when compiling for MIPS. True?



I saw that there was a library released for PocketPC that allows you to use
RTTI. But this is for (I presume) the ARM architecture. Is there something
equivalent for MIPS?



I'm hoping exceptions are not verboten. If they are I'll need to rewrite
parts of the code that uses them. That is not too bad, but I also use the
C++ standard library all over, so this is a worse issue. I found a
preprocessor define called _HAS_EXCEPTIONS which I expected to cause the C++
library to not use exceptions when defined to 0. But I still seem to get the
same errors.



Anyone know about C++ exceptions on MIPS?



Thanks




.



Relevant Pages

  • ALSA on MIPS platform
    ... I'm using PCI Sound cards on MIPS platform which has noncoherent ... There are some issues in ALSA for these platform. ... ALSA uses virt_to_pageto get 'struct page' for DMA area which was ...
    (Linux-Kernel)
  • Re: ALSA on MIPS platform
    ... I'm using PCI Sound cards on MIPS platform which has noncoherent ... There are some issues in ALSA for these platform. ... > ALSA uses virt_to_pageto get 'struct page' for DMA area which was ... > How do we fix this? ...
    (Linux-Kernel)
  • Re: CEplayer sample and Windows MObile 5 problem.
    ... It should work on MIPS just like it does on x86. ... on ARM and x86 both (don't have a MIPS platform to try). ... managed control works. ... but on Dell Axim x51v under WM5 it does not. ...
    (microsoft.public.windowsce.app.development)
  • Re: conversion ELF -> .EXE windows
    ... like a Playstation executable file? ... and MIPS uses a completely different machine language than ... Windows for Intel type chips. ...
    (comp.lang.c)
  • Re: pointer one past malloc.ed memory
    ... > The last byte of malloc.ed memory is written a magic. ... > Sorry i had to give some platform specific details. ... > Or is it just another case of overflow and we can not blame MIPS ...
    (comp.lang.c)