msvc, build and install with cygwin in the PATH
| От | Hannes Eder |
|---|---|
| Тема | msvc, build and install with cygwin in the PATH |
| Дата | |
| Msg-id | 4653F44A.3000703@HannesEder.net обсуждение исходный текст |
| Ответы |
Re: msvc, build and install with cygwin in the PATH
|
| Список | pgsql-hackers |
With a small modification to src/tools/msvc/Install.pm (see attached
patch) it's possible for me to build with msvc and install postgres on a
Windows xp box and leave cygwin in the PATH. Since I use cygwin
frequently it's usfull for me to have it in the PATH.
This might not work on Win9x platforms. But is that platform supported
for development anyway?
Hannes.
Index: src/tools/msvc/Install.pm
===================================================================
--- src/tools/msvc/Install.pm (revision 44)
+++ src/tools/msvc/Install.pm (working copy)
@@ -110,7 +110,7 @@
my $subdirs = $norecurse?'':'/s';
print "Copying $what" unless ($silent);
- open($D, "dir /b $subdirs $spec |") || croak "Could not list $spec\n";
+ open($D, "cmd /c dir /b $subdirs $spec |") || croak "Could not list $spec\n";
while (<$D>)
{
chomp;
@@ -375,7 +375,7 @@
print "Installing NLS files...";
EnsureDirectories($target, "share/locale");
- open($D,"dir /b /s nls.mk|") || croak "Could not list nls.mk\n";
+ open($D,"cmd /c dir /b /s nls.mk|") || croak "Could not list nls.mk\n";
while (<$D>)
{
chomp;
В списке pgsql-hackers по дате отправления: