Date: Thu, 20 Jul 1995 19:16:53 +0300 From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) To: twm AT escape DOT com Subject: Re: Library FUnctions Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > Now when I typed "GCC COLOR.C" it said "undefined reference to cprintf" > and "undefined reeference to textcolor". You didn't read the FAQ list, did you? Because it explains this very problem in section 8.8. You should link your program with the libpc.a library of PC-specific functions, by appending -lpc to your gcc command line: gcc color.c -lpc (or better yet gcc -o color -lpc) The DJGPP FAQ list is available as faq102.zip from the same place you've got DJGPP.