Date: Mon, 14 Mar 94 10:25:45 EST From: "Martin Young" Encoding: 724 Text To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: emu387 I am trying to run a C program compiled with the DOS djgpp compiler gcc-2.2.2. Whenever I call any of the functions in math.h (log(), sqrt()...), I get the error: Segmentation violation in pointer 0x00000004 at 40:b0003264 Exception 14 at eip=b0003264 My computer does not have a 387 coprocessor; instead, I am using the 387 emulator emu387. A line from my autoexec file is set GO32=emu c:/djgpp/emu387/emu387 I always #include when trying to call the math functions, and always use the -lm compiler switch. Are there any other clues I need to use functions from libm.a with the EMU387? I greatly appreciate people's help. Martin Young University of Michigan School of Business