Re: BUG #3818: Cross compilation problems

Поиск
Список
Период
Сортировка
От Richard Evans
Тема Re: BUG #3818: Cross compilation problems
Дата
Msg-id 48A08D3F.4080103@blueallegro.net
обсуждение исходный текст
Ответ на Re: BUG #3818: Cross compilation problems  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: BUG #3818: Cross compilation problems  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
> Am Saturday, 9. August 2008 schrieb Richard Evans:
 >> I've made a couple of patches, for 8.3.3 and 8.2.9, which enable cross
 >> compilation for windows (mingw32) from a unix platform.
 >
 > This looks good, with a couple of tweaks.  I don't think we are going
to be
 > making these kinds of changes in the 8.2 and 8.3 branches, so I
suggest you
 > prepare a patch for 8.4.  Some of the makefiles have changed, so a
bit of
 > work might be involved.

This is from the source repository?  I'll take a look.

 >
 >> 2. in various makefiles, checking BUILDOS not PORTNAME when deciding
 >> whether to use 'pwd -W' or just 'pwd'
 >
 > I was wondering, what is the difference between these?  And couldn't
we just
 > use $(CURDIR) instead?

I'm not sure why the makefiles need the current directory. pwd -W is
specific to mingw, I think it gives the directory in windows format.  It
has to be changed for cross compilation otherwise you get errors.

 >
 >> 5. Working round a binutils-2.18 bug in windres when the rc file has /
 >> or \ in the path
 >
 > What is the status of this bug?  Shouldn't it be fixed instead?
 >

The bug is fixed in the binutils source repository, so presumably will
be fixed in 2.19.  But it seems better to support the current version
rather than wait for the next.

Richard

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Brendan O'Shea"
Дата:
Сообщение: BUG #4350: 'select' acess given to views containing "union all" even though user has no grants
Следующее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: BUG #4350: 'select' acess given to views containing "union all" even though user has no grants