hj writes:
> i use mingw and msys in a windows xp machine,and when i press " C-c . c " to
> build the project. it shows that autoreconf is not a executable file,and i
> googled ,found the way to set this variable to t:
>
> (setq eshell-force-execution t)
If I remember correctly, mingw will by default use the Windows default
shell. Try to set the SHELL environment variable to 'bash' when starting
emacs:
SHELL=bash emacs
> which turns out that although it still not works in ede-mode ,but at least
> it works in eshell-mode. i thought maybe in ede-mode there is another shell-mode
> in charge with it. but the next problem is the perl ,the autoreconf's header is
>
> "# /bin/perl -w "
>
> and in eshell-mode the "/" -- root directory is the driver d: -- which i
> install the emacs in d:/dev/Emacs and i install msys in d:/dev/msys . so when in
> msys prompt the "/" is /d/dev/msys indeed . but in msys prompt if i used "emacs
> -nw" then i could only find the "/" is d: . so right now i just manually input
> the autoreconf command in the msys shell window to accomplete the procedure.
> everything's fine.
>
> any idea would be welcomed. thanks.
I once tried to get the CEDET integration tests to run under MSYS, but I
ran into similar problems and finally gave up since it just took too
much time, and I don't have to code under Windows at the moment
anyway. I'm afraid I can only tell you that CEDET runs fine with Cygwin,
albeit way, way slower (especially running autoreconf makes for a good
cup of tea, which is why the buildbot isn't running the integration
tests by default on that platform).
We would welcome any patches to support MinGW, of course. :-)
-David
|