|Subject:||RE: [cedet-semantic] Latest CEDET on BZR does not compile with emacs 24.1|
|Date:||Tue, 2 Oct 2012 22:31:03 +0200|
Hello David et alii,
Looping also through Eli & emacs-devel.
Please find attached the patch file cedet.diff to compile CEDET with make + MSYS --- this solves only the file path issue, but there is still some remaining problem.
There is also one new file platform.mak to do some platform dependent settings. The whole trick which I propose is actually inside this platform.mak file.
I have not yet written any Changelog entry, I will do that when I get feedback on whether this correction is acceptable.
The correction is that MSYS paths generated by MSYS make (like with $(abspath ...) construct), are replaced by full fleshed MSWindows path.
For instance file path `/c/Programme/GNU/installation/cedet-install/cedet/lisp/cedet/ede/loaddefs.el', as MSYS views is, is replaced by c:\Programme\GNU\installation\cedet-install\cedet\lisp\cedet\ede\loaddefs.el.
Well, in fact for this one I have also to duplicate antislashes because it is passed via some lisp string.
Since EMACS handles full-fleshed MSWindows path correctly, that is enough to solve the problem.
The previous problem was that EMACS could not handle something like `/c' in `/c/Programme/GNU/installation/cedet-install/cedet/lisp/cedet/ede/loaddefs.el', also using the notation c:/Programme/GNU/installation/cedet-install/cedet/lisp/cedet/ede/loaddefs.el which is what you can get with `pwd -W' is not sufficient, because it seems that EMACS does some preprocessing that changes this to c;c:\Programme\GNU\installation\cedet-install\cedet\lisp\cedet\ede\loaddefs.el --- i.e. the `:' after c is handled kind of like a filename sepator --- this is almost good, but the spurious `c' was problematic. So I had to pipe the output of `pwd -W' into some sed one-liner.
I had tried earlier some overload of expand-file-name passed to EMACS before the other arguments, but that did not allow me to go that far.
Feedback / brickbats welcome.
> From: address@hidden
> To: address@hidden
> CC: address@hidden
> Subject: Re: [cedet-semantic] Latest CEDET on BZR does not compile with emacs 24.1
> Date: Mon, 1 Oct 2012 17:21:51 +0200
> Vincent Belaïche writes:
> > Thanks for the feedback, I will see if I can make some hack to overload
> > expand-file-name so that MSYS paths are interpreted correctly, and let you
> > know.
> Good luck, but may I suggest again that you just ask on emacs-help?
> People like Eli read there who happen to know this MSYS business inside
Description: Binary data
Description: Binary data
|[Prev in Thread]||Current Thread||[Next in Thread]|