Mail Archives: djgpp/1995/07/20/13:13:37
> 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.
- Raw text -