View Single Post
Old 05-16-2012, 09:21 AM   #49
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by xueyou2 View Post
I just test hello on my kindle

/mnt/us/tcc #tccmake hello -lm
tcc:cannot find -lm
/mnt/us/tcc #tccmake hello
tcc:undefined synbol 'sqrt'

The problem is still there.
I just install tcc v1.5
the result is same.
The libm library has to be on the compiler's library search path.

That bit of the HowTo directions is somewhere in GM's post.
Just read the entire thread, I don't have a direct link to that part of the directions.
knc1 is offline   Reply With Quote