On Wed, 17 May 2006, Stefan Pfetzing wrote: > > So I'd prefer a solution where one could set one flag for the Makefile of git, > and git would check for the g prefix, create somewhere a directory with > symlinks to the "real" gnu binaries and put it into $PATH upon startup of > every git c-program or shellscript. So let me just quote the thing you quoted but apparently didn't read: > > If you use the git wrapper, for example, you can already depend on the > > fact that it will prepend the git installation directory to the path, so > > while the GNU tools might not _normally_ be on the path, if you put them > > in the same directory as your git install, you'll automatically get them > > as long as you use the "git cmd" format (rather than the "git-cmd" > > format). There already _is_ such a directory. It's your "prefix=" directory plus "bin". So what you can do is make sure you compile with make prefix=/my/git/installation/prefix and then install the GNU tools in /my/git/installation/prefix/bin, and you're all set. At most you might have to make some of the tests use "git xyzzy" instead of "git-xyzzy", and run "make install" before "make test". It wouldn't be wonderful, but hey, I've given alternatives (like using the GNU tools by default, or helping make git more portable in the first place). So it's a hack. Linus - : 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