www.delorie.com/djgpp/faq/crashes/signal.html   search  
I get a ``fatal signal 2'' when I run gcc.

When gcc reports a signal, it really means that an error occurred trying to run the given program. The signal number is the DOS error code, and 2 means "file not found" (dig out your DOS reference for other error codes). This means gcc couldn't find some program it needs to run to compile your source. Check the COMPILER_PATH environment variable or what the COMPILER_PATH line in the djgpp.env file says, and make sure they point to the directory where djgpp programs reside. Also check that that directory has all the required programs: cpp.exe, cc1.exe, cc1plus.exe, as.exe, ld.exe, and (for Objective-C) cc1obj.exe.


  webmaster     delorie software   privacy  
  Copyright © 1995     Updated Feb 1995