View Single Post
casketizer's Avatar
Posts: 566 | Thanked: 282 times | Joined on Sep 2010 @ Lower Saxony
#1
After much fiddling (I even had to get a 1997 C book from my basement) I finally got my code to compile properly with tiny c.
However it will not link.
I get :

Code:
tcc: undefined symbol '__libc_csu_fini'
tcc: undefined symbol 'abort'
tcc: undefined symbol '__libc_csu_init'
tcc: undefined symbol '__libc_start_main'
tcc: undefined symbol '__aeabi_memset'
tcc: undefined symbol 'memset'
tcc: undefined symbol '__aeabi_idiv'
tcc: undefined symbol '__aeabi_idivmod'
tcc: undefined symbol 'printf'
tcc: undefined symbol 'memcpy'
tcc: undefined symbol 'puts'
tcc: undefined symbol 'strlen'
tcc: undefined symbol '__ctype_b_loc'
tcc: undefined symbol 'sscanf'
tcc: undefined symbol 'time'
tcc: undefined symbol '__aeabi_uldivmod'
I am assuming I'm missing some packet? Do I have to install the libc6-dev package? I just extracted it and manually copied the .o's and includes that tiny asked for into /u/l and /u/i coz i wanted to avoid cramping my rootfs further by installing it.

Is there any guide how to properly set up tinyc on N900?

Someone please enlighten an old assembler freak (I write all my Windoze stuff with masm)

Last edited by casketizer; 2011-02-15 at 22:17.