On Fri, Feb 25, 2011 at 12:11:59PM +0100, Johannes Schindelin wrote: > Hi, > > On Fri, 25 Feb 2011, Kirill Smelkov wrote: > > > Johannes, can we please try my patch[1] for msys.dll not to load > > user32.dll for every msys program (i.e. sh.exe too)? Combined together > > with 3 clipboard functions removal (details in [2]) from sh.exe, I bet > > this will result in significantly faster shell startup, configure runs, > > etc... > > > > This days I have lack of access to windows machines, only wine, so I > > desperately need someones help to at least first rebuild msys.dll. > > > > [1] http://repo.or.cz/w/msys/kirr.git/commitdiff/f7d7efebd35e8e5bf6d685ff4f1197941984be04 > > [2] http://repo.or.cz/w/msys/kirr.git/commitdiff/a97bed5d22f9c05f39776d8ea7856db4ce572dc5 For [1] please do git://repo.or.cz/msysgit/kirr.git ks/no-user32-in-msysdll # into msys Kirill Smelkov (1): msys.dll: Don't pull user32.dll & friends just to detect whether right alt should be used as meta ...n-t-pull-user32.dll-friends-just-to-detec.patch | 98 ++++++++++++++++++++ 1 files changed, 98 insertions(+), 0 deletions(-) create mode 100644 src/rt/patches/0011-msys.dll-Don-t-pull-user32.dll-friends-just-to-detec.patch > Three things: > > [2] does not apply cleanly, so I am still desperately trying to find some > time to finish it off (the patches are to msys.git, not the 'msys' branch > of msysgit.git, so I had to find a quarter an hour in order to put them > there in the first place, taking up all the Git time budget I wanted to > allow myself for this week). For [2] please do git pull git://repo.or.cz/msysgit/kirr.git ks/xser32.dll # into devel Kirill Smelkov (3): hack: xser32.dll -- Fake user32.dll like stub (for sh.exe not to load user32.dll) xser32.dll: Fake user32.dll like stub (for sh.exe not to load user32.dll) hack: sh.exe -- link to xser32.dll instead of user32.dll bin/sh.exe | Bin 567296 -> 567296 bytes bin/xser32.dll | Bin 0 -> 4373 bytes src/xser32/Makefile | 13 +++++++++++++ src/xser32/release.sh | 7 +++++++ src/xser32/xser32.c | 27 +++++++++++++++++++++++++++ 5 files changed, 47 insertions(+), 0 deletions(-) create mode 100644 bin/xser32.dll create mode 100644 src/xser32/Makefile create mode 100644 src/xser32/release.sh create mode 100644 src/xser32/xser32.c > Further, I think that my beloved Shift+Insert will no longer work with > your [2]. Probably yes, but this is only an experiment to see whether sh.exe starts to be really faster. For proper solution we'll need to patch bash to use msys's /dev/clipboard, or link to user32 symbols lazily. > And lastly, in [2] you claim that you cross-built msys-1.0.dll. I would > like to have a script doing that in msysgit.git. This is in progress. Preliminary stuff (cross-built msys.dll no longer needs mingwm10.dll), is here: http://repo.or.cz/w/msys/kirr.git/shortlog/refs/heads/x/kirr http://repo.or.cz/w/msysgit/kirr.git/shortlog/refs/heads/ks/crossmsys Sorry, I hoped to finish 2a today, but have to run... Thanks, Kirill -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html