View Single Post
Old 05-10-2012, 09:01 PM   #32
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 get it.
If you use other functions,just link the XX library?
Just like
tccmake myprog -lX (with the first letter?)
NO

Think: "-l" shorthand for "lib"
libm == -lm
libtime == -ltime

See:
http://linux.die.net/man/1/gcc
Section: "linker options"

Remember:
"man" (the manual command) is your friend on *nix
(or in a google search box)
knc1 is offline   Reply With Quote