I have a problem using arm9 and arm9lib templates provided with devkitPro.
I've created a simple library using arm9lib template, then I placed .a file into lib folder inside a project based on the arm9 template.
The functions defined in the library are not visible in the application.
What is the appropriate way to use those templates together?
arm9 and arm9lib templates
Re: arm9 and arm9lib templates
It is necessary to modify two lines in Makefile used by the application:
1. Add your project's directory to a list of directories with lib folder:
2. Add name of your library to this line:
And that is all!
1. Add your project's directory to a list of directories with lib folder:
Code: Select all
LIBDIRS := $(LIBNDS) $(CURDIR)
Code: Select all
LIBS := -lnds9 -lname_of_your_lib
Who is online
Users browsing this forum: No registered users and 0 guests