I wanted to ask if it possible to compile a C-Programm to a fx-9860-Addin.
I already saw this link (http://fxsdk.sourcef...ka=BinaryFormat), and because I am using gentoo, I said crossdev -t sh3eb.
Now the GCC was downloaded.
But If I execute
sh3eb-unknown-linux-gnu-gcc -O9 -lgcc -Xlinker "-Taddin.ld" crt0.s input.c -o myaddin
/usr/libexec/gcc/sh3eb-unknown-linux-gnu/ld: error: no memory region specified for loadable section `.plt' collect2: ld returned 1 exit status
Furthermore, I don't know why to execute the compiler with the -nostdlib flag....
If I would do it, it wouldn't work, cause I am using stdio.h...
Furthermore, the wiki page says
I am assuming you are in a directory with init.c, init.s, init.h, addin.ld
$ls addin.ld crt0.s inputfile.c
So what are these init*-Files and what are they used for??
Hope you can help me, for I am totally clueless ...
Program is in "computer-C", not using the special calculator-libraries/system-calls or whatever...
Edited by 2072, 22 December 2008 - 01:37 AM.