Mail Archives: djgpp/1995/07/20/12:10:08
I am new to this listserv. I recently downloaded DJGPP from *gasp* AOL.
I got all seven parts and unzipped it. Then I installed it completely
and I wrote a small program to test it
#include <gppconio.h> /* this is dumb.. should be CONIO.H */
#include <stdio.h>
main()
{
int i;
for (i = 0;i <15;i++) {
textcolor(i);
cprintf("\nThis should print in color");
}
return 0;
}
this is the abridged version, no bug reports please :)
Now when I typed "GCC COLOR.C" it said "undefined reference to cprintf"
and "undefined reeference to textcolor".
now, is this normal? I mean those two functions are pretty standard. I
double checked my autoexec.bat and I am sure that I put
set LIBRARY_PATH=c:\gcc\lib
What should I do? DO i link them in manually? (that would really be
dumb, it should do it automatically).
If anyone has a list of which libs go to which Header files, please send
it to the list.
Please respond and help me.
Sincerly,
Todd Muhlfelder (twm AT escape DOT com)
- Raw text -