Re: Building extensions on Windows using VS2008

Поиск
Список
Период
Сортировка
Искать
От
deepak
Тема
Re: Building extensions on Windows using VS2008
Дата
Msg-id
AANLkTiky5UFnuLLemrc7W_j8Pr-wNN00i2P0AkHOkzgN@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Building extensions on Windows using VS2008 deepak <deepak.pn@gmail.com>
Re: Building extensions on Windows using VS2008 Craig Ringer <craig@postnewspapers.com.au>
Re: Building extensions on Windows using VS2008 deepak <deepak.pn@gmail.com>
Re: Building extensions on Windows using VS2008 Craig Ringer <craig@postnewspapers.com.au>
Re: Building extensions on Windows using VS2008 deepak <deepak.pn@gmail.com>
Re: Building extensions on Windows using VS2008 Craig Ringer <craig@postnewspapers.com.au>
Re: Building extensions on Windows using VS2008 Magnus Hagander <magnus@hagander.net>
Re: Building extensions on Windows using VS2008 deepak <deepak.pn@gmail.com>
Re: Building extensions on Windows using VS2008 Tom Lane <tgl@sss.pgh.pa.us>


build.pl parses the Makefile to determine the list of sources, etc. Essentially, your extension is built using the unix Makefile.  Since you've already built Pg its self from sources you will have used build.pl to do it (right?) and it'll be easy for you to add the contrib module and re-run.

The downside of this approach is that build.pl isn't a complete Makefile parser, and is easily confused by anything but the most trivial Makefile syntax. I had problems when I was putting the crashdump module together because build.pl didn't understand ifndef .

--
Craig Ringer

Ok, I hadn't realized that the VS build system extrapolates information from unix Makefiles..

I briefly tried adding a new contrib module for my extension and re-running the VS build (src\tools\msvc\build.bat), and still get the same error.
(about redefinition of errcode).  Somehow, it seems to me that there's an inherent incompatibility..


--
Deepak
В списке pgsql-general по дате отправления
От: Craig Ringer
Дата:
От: 页公倒龙
Дата:
FAQ