forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
pixel217



Joined: 09 Jun 2008
Posts: 2

PostPosted: Mon Jun 09, 2008 10:50 pm    Post subject: [FIXED][THANKS}noob in psp dev need hlp on simple question Reply with quote

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
View user's profile Send private message
pspZorba



Joined: 22 Sep 2007
Posts: 156
Location: NY

PostPosted: Mon Jun 09, 2008 11:29 pm    Post subject: Reply with quote

do you have -lstdc++ in your link?
_________________
--pspZorba--
NO to K1.5 !
Back to top
View user's profile Send private message
pixel217



Joined: 09 Jun 2008
Posts: 2

PostPosted: Mon Jun 09, 2008 11:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group