Re: pgxs/windows
От | Tom Lane |
---|---|
Тема | Re: pgxs/windows |
Дата | |
Msg-id | 8914.1137346372@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: pgxs/windows (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: pgxs/windows
|
Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes: > However, libpostgres.a isn't in $(DESTDIR)/$(bindir), it's in > $(DESTDIR)/$(libdir) and when I make that change in the installed > makefile my module builds happily. > My question is: if I make this change will anything else break? Offhand that seems like it may just be a thinko in the original makefile coding. Has anyone tried to use PGXS on windows before? > I also had to filter out -Wdeclaration-after-statement and > -Wendif-labels from the CFLAGS, since they are not supported by my > compiler. This is a bit of a PGXS gotcha, ISTM - we use the CFLAGS that > were detected as valid on the original build machine rather than the > current machine. In general you are supposed to use the same compiler as the installation was built with. We are not going to try to support other cases --- CFLAGS are barely the tip of the iceberg of the issues that would arise. regards, tom lane
В списке pgsql-hackers по дате отправления: