stdio on bash shell/emacs

2003-01-30 Thread Aaron Edsinger
does anyone have any ideas about this. (here's the code:) int main(int argc, char* argv[]) { while( !kbhit() ) { printf("Hit me\n"); fflush(stdout); } printf( "\nKey struck was '%c'\n", _getch() ); fflush(stdout); return 0; } -than

newbie linking problems

2002-11-26 Thread Aaron Edsinger
Hi. i'm trying to link a simple program using X11 and a com port. the include and lib paths seem fine. The problem is with undefined references during linking: If in the makefile I link with static libraries (XLIB = ${XPATH}/lib/), I get lots of X related link errors such as: "xdisplay.c: undefine

newbie linking problem

2002-11-26 Thread Aaron Edsinger
Hi. i'm trying to link a simple program using X11 and a com port. the include and lib paths seem fine. The problem is with undefined references during linking: If in the makefile I link with static libraries (XLIB = ${XPATH}/lib/), I get lots of X related link errors such as: "xdisplay.c: undefine