Hi all.
Thanks for the help. Anonymous Monk, you're right ;)
I am now able to compile C/C++ programs and run perl code *except* if the code contains the system command, e.g.
system("dir");
This results in the same message as my original post. I am starting to think the MinGW suite is causing a problem but I don't know enough about MSYS to make an accurate diagnosis. My path looks like the following:
C:\;C:\perl\bin;C:\perl\site\bin;C:\MinGW\bin;...
I am completely at a loss as far as how to proceed. Any suggestions would be most welcome! I solved the initial problem by deleting nearly all perl files in the root directly, e.g., perl5.8.8.exe, etc. since I am running 5.16.3. I can only hypothesize that the MinGW and/or MikTex installer copied several problematic files to the root folder and I simply haven't been able to isolate which one(s) they are.
I foolishly deleted a file called msys-1.0.dll from my C:\ drive then copied the same file from the 'mingw' install directly, but the problem remains.
Thanks,
Cathy
| [reply] [d/l] |