question about creation of libnds

Post Reply
atenzor
Posts: 1
Joined: Thu Oct 22, 2009 10:20 pm

question about creation of libnds

Post by atenzor » Thu Oct 22, 2009 10:25 pm

Hi, I was just wondering how did you guys created the libnds library?
How did you started? How did you know what to integrate in it, etc.

Also, I downloaded the libnds separately from the devkitPro updater and
when I extract I have two folders: "include" (which has only header files) and "lib" (which has only .a files). What are each of them?

Let me know. Thanks!

-Atenzor-

WinterMute
Site Admin
Posts: 2003
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: question about creation of libnds

Post by WinterMute » Mon Oct 26, 2009 9:40 pm

We started a long, long time ago, back in the GBC days if truth be told. Much of the knowledge we acquired from GBC & GBA programming was applicable to the DS due to the similarities in graphics hardware.

As for how we knew what to integrate, mostly we started with simple hardware register macros and slowly built an API on top. We've had a lot of feedback and contributions from the homebrew community.

Not really sure where to start on explaining what the header & library files are tbh, I'd suggest a couple of books on C. It's not hugely complicated, just difficult to know how much you currently understand.
Help keep devkitPro toolchains free, Donate today

Personal Blog

User avatar
vuurrobin
Posts: 219
Joined: Fri Jul 11, 2008 8:49 pm
Location: The Netherlands
Contact:

Re: question about creation of libnds

Post by vuurrobin » Mon Oct 26, 2009 10:42 pm

atenzor wrote:when I extract I have two folders: "include" (which has only header files) and "lib" (which has only .a files). What are each of them?

header files (typically .h for C or .hpp for C++):
http://www.learncpp.com/cpp-tutorial/19-header-files/


library/archive files (.lib or .a)
http://www.learncpp.com/cpp-tutorial/a1 ... libraries/

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests