Quote:
Originally Posted by geekmaster
When I use "tcc-static" on my kindle, while doing a static build, I get this:
[root@kindle us]# tccmake parmtest -static
tcc: error: undefined symbol 'exit'
tcc: error: undefined symbol 'printf'
What do I need to link to it? (No time to RTFM the KeK stuff right now)
|
Using tcc-repo-top:
Well, printf is easy, <stdio.h>
One of the ones that at least tcc-dynamic mishandles (it can't find stddef.h any longer).
Not sure about the "exit" one.
The library symbol names are things like _at_exit and _fini but maybe there is (or should be) an 'exit'.
Does tcc do:
tcc -E
?
Maybe that would help track it down.