[MinGW-Users] Prepending a script invocation with ./

Back to archive index
Anton Shepelev anton****@gmail*****
Thu Jan 7 01:12:40 JST 2021


Hello, all

I seem to experience a mysterious problem with MinGW. In
order to build the SDL library for the DOSBox-X project, I
invoke:

   ./build-dosbox.sh 1>out.txt 2>err.txt

After several minutes of building, it flashes a new console
window for the briefest of moments and stops. The build is
not finished. err.txt has no errors but suddenly ends with:

   make: *** wait: No children.  Stop.
   make: *** Waiting for unfinished jobs....
   make: *** wait: No children.  Stop.

out.txt is 50 kB and looks truncated. If, however, I run the
same script with the `./' prefix:--

   build-dosbox.sh 1>out.txt 2>err.txt

it completes successfully. What may be the difference if its
location is not listed in the $PATH variable, and I invoke it
from the directory containing the script, and it

   Ant at ant-519666801b8 ~/dosbox-x/vs2015/sdl
   $ which build-dosbox.sh
   /home/Ant/dosbox-x/vs2015/sdl/./build-dosbox.sh

This is Windows XP with the latest MinGW.



More information about the MinGW-Users mailing list
Back to archive index