delorie.com/djgpp/faq/running/exe-hangs.html | search |
Most likely, you did this:
gcc foo.c -o foo.exeThis doesn't create a real .exe file. That's like renaming your phone directory file to an .exe and expecting it to run. You must use the coff2exe program to convert the output of gcc to a real executable:
gcc ... -o foo coff2exe fooThis produces foo.exe you can run like any other DOS program.
webmaster | delorie software privacy |
Copyright © 1995 | Updated Feb 1995 |