www.delorie.com/djgpp/v2faq/faq097.html | search |
| Previous | Next | Up | Top |
gcc -o foo foo.oinstead of
gcc -o foo.exe foo.o(the latter will only produce foo.exe, while the former produces both foo, the COFF executable which gdb needs, and foo.exe).
To produce a COFF file from a .exe program, use the EXE2COFF program which comes with DJGPP, like this:
exe2coff foo.exeDebuggers which come with DJGPP v2.01 can debug COFF and .exe programs alike, so upgrading to v2.01 should solve this problem.
webmaster donations bookstore | delorie software privacy |
Copyright ⌐ 1998 by Eli Zaretskii | Updated Sep 1998 |
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)