Date: Mon, 30 Aug 93 23:02:24 PDT From: akrause AT saturn DOT SDSU DOT Edu (Alan Krause) To: djgpp AT sun DOT soe DOT clarkson DOT edu A brioef question for you djgpp experts out there. I have written some subroutines which I would like available to many programs. So, I compile them to object form via: gcc poly.c -o poly.o -c -v Then, when I wish to use these subroutines in a program, I inlude the associated header file (poly.h) and compile my program (test.c here) via: gcc test.c -o test poly.o -lm -lpc -lgrx -v However, when I run the program (go32 test) it runs for approximately 1 second, then crashes giving me the following output: Exception 117 (ox75) at eips=197e plus two more lines of stuff I didn't write down.. I'd think that it was simply a fault in my code, except that if I put in a #include "poly.c" in test.c and compile it via gcc -v test.c -o test -lgrx -lm -lpc The program works fine. Is there something I'm doing that is obvious/stupid? Thanx for any possible help... Alan Krause akrause AT saturn DOT sdsu DOT edu