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 

Creating C++ Class Libraries

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



Joined: 20 Oct 2008
Posts: 355

PostPosted: Tue Nov 04, 2008 6:53 am    Post subject: Creating C++ Class Libraries Reply with quote

Basically what it says how can i create a c++ class library such as string i already have the class done just need to know how to make a lib.a file from c++ and then use it in my code
Back to top
View user's profile Send private message MSN Messenger
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Wed Nov 05, 2008 7:39 am    Post subject: Reply with quote

hey this cant be that hard no answers oslib is a library i just wanna make an objectdraw library based off oslib that uses class which is c++ any suggestions
Back to top
View user's profile Send private message MSN Messenger
Noko



Joined: 06 Sep 2008
Posts: 23

PostPosted: Thu Nov 06, 2008 2:58 am    Post subject: Reply with quote

psp-ar is used to create static libraries.

People don't usually make c++ libraries though; even if they write in sepples they export C functions.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Nov 06, 2008 8:11 am    Post subject: Reply with quote

I prefer C libs since they're easy enough to use with C++ and easier to use with C than C++ libs. That's why I made a post on compiling MiniXML for the PSP: it's a C library where TinyXML is C++, thus it's more useful for more people.
Back to top
View user's profile Send private message AIM Address
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