View Single Post
KotCzarny's Avatar
Posts: 290 | Thanked: 738 times | Joined on Mar 2008 @ .pl
#23
you have to compile each .c file into .o then link them with static or compiled libs:
gcc file.c -o file.o
gcc file2.c -o file2.o
gcc file.o file2.o -o final-binary -lncurses -lm -lz -lsomeotherlib
..etc
__________________
oscp - media player with network remote and almost no dependencies (pc/lin/win/maemo(n8x0/n900), x86/x64/armel/armhf) - http://talk.maemo.org/showthread.php?t=94590 - if you like it, tell others.
contact with me: #osc or #maemo on freenode/ircnet or /query KotCzarny

Last edited by KotCzarny; 2015-02-11 at 07:27. Reason: little fix
 

The Following 3 Users Say Thank You to KotCzarny For This Useful Post: