how to enable rtti

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

how to enable rtti

Post by coolkehon »

can rtti be used on the psp because in all of the makefiles samples it has -fno-rtti and i want to use boost which needs rtti enable for some of the pointer objects
jojojoris
Posts: 255
Joined: Sun Mar 30, 2008 4:06 am

Post by jojojoris »

dont know.

I would say: Try it...

Just remove -fno-rtti from th makefile and try to run it.

Code: Select all

int main(){
     SetupCallbacks();
     makeNiceGame();
     sceKernelExitGame();
}
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

i've heard from somewhere "bronsky" that the psp doesnt support RTTI but i added -frtti to the makefile and it still compiled and the psp supports exceptions (-fexceptions) if i remove -fno-exceptions so does it support RTTI if i remove -fno-rtti and replace it with -frtti
Post Reply