Re: VS 2015 support in src/tools/msvc
От | Michael Paquier |
---|---|
Тема | Re: VS 2015 support in src/tools/msvc |
Дата | |
Msg-id | CAB7nPqRgPDj1hGaoYcQuvwurSVYEkoxgynpX37Xq7pwEs-zjyg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: VS 2015 support in src/tools/msvc (Alvaro Herrera <alvherre@2ndquadrant.com>) |
Список | pgsql-hackers |
On Sat, Mar 5, 2016 at 12:08 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > Michael Paquier wrote: > >> - 0001, as mentioned by Petr upthread, psed is removed from the core >> distribution of Perl in 5.22, so when installing ActivePerl it is not >> possible to create probes.h, and the code compilation would fail. I >> bumped into that so here is a patch. What I am proposing here is to >> replace psed by sed, sed being available in MSYS like bison and flex, >> so when building using MSVC the environment to set up is normally >> already good to go even with this additional dependency. Now, it is >> important to mention that probes.h is not part of a source tarball. I >> think that we would want probes.h to be part of a source tarball so as >> it would be possible to compile the code on Windows using MSVC without >> having to install MSYS. I haven't done that in this patch, thoughts on >> the matter are welcome. > > I think the path of least resistance is to change the sed script into a > Perl script. Should be fairly simple ... Yes that's possible as well. It would be better to use the same process for *nix platforms as well. -- Michael
В списке pgsql-hackers по дате отправления: