You could try using the Python and DevkitARM dependent setup here:
https://github.com/EternalCode/Empty-Template/tree/master/Sample Project
If I recall correctly, you need to execute scripts/build and scripts/insert for Linux, and windows required scripts/build2 and scripts/insert3. Sorry for the poor names. This setup is far superior for bigger projects as it also supports direct insertion and various other perks like hooking and address repointing. It works well for small single-file projects as well.
thanks also to you, FBI.
.woah, I just discovered that also libtonc comes with an A file...
so now how to compile properly? (sorry if I'm an hassle)
if I look at openpoke, he does
#include <libtonc>
and lets the makefile do the rest.
but you said me completely different things!
Code:
arm-none-eabi-gcc -I/path/to/headers -l/path/to/library -Llibraryname -mthumb -o file.o
arm-none-eabi-gcc file.o -o asm.bin
is that correct? and in the sources?
(i did a mistake, I don't have gcc but devkit, with arm-none-eabi-gcc)
excuse me, I don't understand very well the parameters "path to library" and "libraryname". dees the latter have to match something in particular or can it be anything? and in "path to library", what does "library" identify? the A file?
therefore, assuming I want to use libtonc and didn't change the folder directory, what are the steps neded to compile?
sorry if I'm demanding for such a great detail but as you can imagine I'm a total newbie in this kind of things.
I feel really bad for bothering a "god" and a recently signed-up user :p
well, I primarily use windows :p
what do your scripts do? I used to use a simple program developed in java by me to insert a routine in the ROM :p
and once compiled, what do I have to search to branch to?
I saw your template in the other post (have to reply yet), but don't have looked at it for now. I will do, but I use ruby, does anithing change (hope/think not) ?