| View previous topic :: View next topic |
| Author |
Message |
pixel217
Joined: 09 Jun 2008 Posts: 2
|
Posted: Mon Jun 09, 2008 10:50 pm Post subject: [FIXED][THANKS}noob in psp dev need hlp on simple question |
|
|
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 |
|
| Back to top |
|
 |
pspZorba
Joined: 22 Sep 2007 Posts: 156 Location: NY
|
Posted: Mon Jun 09, 2008 11:29 pm Post subject: |
|
|
do you have -lstdc++ in your link? _________________ --pspZorba--
NO to K1.5 ! |
|
| Back to top |
|
 |
pixel217
Joined: 09 Jun 2008 Posts: 2
|
Posted: Mon Jun 09, 2008 11:35 pm Post subject: |
|
|
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!!! |
|
| Back to top |
|
 |
|