[FIXED][THANKS}noob in psp dev need hlp on simple question

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

Moderators: cheriff, TyRaNiD

Post Reply
pixel217
Posts: 2
Joined: Mon Jun 09, 2008 10:44 pm

[FIXED][THANKS}noob in psp dev need hlp on simple question

Post by pixel217 »

Hello,

I'm starting PSP homebrew developpement (for fun) and I have a few questions :

is there any STL implementation that works with psp-gcc ?

I ask this because I tried to make a small program that was including <vector> and that was using it.

I got errors saying : "undefined reference to 'operator new(unsigned int)' " in the linking of the program.... so I was also wondering if it is possible to manage the psp memory the C++ way (new/delete) instead of the C way (malloc and the likes).

Thank you for any help!
Last edited by pixel217 on Tue Jun 10, 2008 12:23 am, edited 1 time in total.
pspZorba
Posts: 156
Joined: Sat Sep 22, 2007 11:45 am
Location: NY

Post by pspZorba »

do you have -lstdc++ in your link?
--pspZorba--
NO to K1.5 !
pixel217
Posts: 2
Joined: Mon Jun 09, 2008 10:44 pm

Post by pixel217 »

hurrray!

thanks that fixed it :-)

I am quite new to gcc and the likes (makefiles and such)....

was used to VisualStudio usage where this is probably "implicit".


Thanks!!!
Post Reply