How do I make my own libraries?

support for the ARM toolchain
Post Reply
User avatar
piku
Posts: 1
Joined: Fri Aug 31, 2018 2:15 pm

How do I make my own libraries?

Post by piku » Fri Aug 31, 2018 3:11 pm

Hello! I am a recovering C# coder who's spent far too long in Visual Studio where this is quite easy to do.

Suppose I have a folder full of C source and appropriate headers (they can go in an "includes" folder if that makes life easier), how do I turn it into a static library that I can link against in my projects?

Do I have to make my own Makefile, or has the devkitPro one (for the 3DS, if that matters) got a special "compile this as a library" option in it somewhere?

It's been so long since I did this...

User avatar
fincs
( ͡° ͜ʖ ͡°)
Posts: 93
Joined: Mon Jul 12, 2010 9:45 pm
Location: Seville, Spain
Contact:

Re: How do I make my own libraries?

Post by fincs » Fri Aug 31, 2018 4:17 pm

We have a project template for 3DS libraries, check it out:

https://github.com/devkitPro/3ds-exampl ... es/library
Donate to devkitPro - help us stay alive!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests