Creating C++ Class Libraries

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

Creating C++ Class Libraries

Post by coolkehon »

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
coolkehon
Posts: 355
Joined: Mon Oct 20, 2008 5:44 am

Post by coolkehon »

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
Noko
Posts: 23
Joined: Sat Sep 06, 2008 8:35 pm

Post by Noko »

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.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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.
Post Reply