Re: [HACKERS] mingw64

2011-02-14 Thread Peter Rosin
Den 2011-02-12 11:10 skrev Ralf Wildenhues: Hello, and sorry for the delay, * Peter Rosin wrote on Sat, Jan 29, 2011 at 02:26:24PM CET: Or is plain 'ar' used somewhere instead of 'x86_64-w64-mingw32-ar'? Automake outputs 'AR = ar' in Makefile.in for rules creating old libraries iff

Re: [HACKERS] mingw64

2011-01-29 Thread Xiaobo Gu
Why are you cross-compiling? I built without any need to do that. Change the names of the binaries on the m mingw64/bin directory to remove the platform prefix, put that directory at the head of your PATH, and run a plain configure. Works like a charm. I have two work computers, one is 32 bit

Re: [HACKERS] mingw64

2011-01-28 Thread Andrew Dunstan
On 01/27/2011 10:51 PM, Xiaobo Gu wrote: On Fri, Jan 28, 2011 at 11:44 AM, Andrew Dunstanand...@dunslane.net wrote: On 01/27/2011 10:37 PM, Xiaobo Gu wrote: --with-system-tzdata=/usr/share/zoneinfo Why on earth are you doing this on Windows? That's crazy. Did you run make

Re: [HACKERS] mingw64

2011-01-28 Thread Andrew Dunstan
On 01/28/2011 08:09 AM, JonY wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/28/2011 18:19, Andrew Dunstan wrote: configure:7071: checking for zic configure:7104: result: no configure:7113: error: When cross-compiling, either use the option --with-system-tzdata to use existing

Re: [HACKERS] mingw64

2011-01-28 Thread JonY
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/28/2011 18:19, Andrew Dunstan wrote: configure:7071: checking for zic configure:7104: result: no configure:7113: error: When cross-compiling, either use the option --with-system-tzdata to use existing time-zone data, or set the environment

Re: [HACKERS] mingw64

2011-01-28 Thread JonY
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/28/2011 23:23, Andrew Dunstan wrote: On 01/28/2011 08:09 AM, JonY wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/28/2011 18:19, Andrew Dunstan wrote: configure:7071: checking for zic configure:7104: result: no

[HACKERS] mingw64

2011-01-27 Thread Andrew Dunstan
With the attached patch I have managed to get Postgres built and running a clean set of regression tests using the Mingw64 toolset on my 64bit Windows7Pro machine. There's lots of work still to do (lots of warnings to make go away, for example), but this is a pretty encouraging start. It

Re: [HACKERS] mingw64

2011-01-27 Thread Xiaobo Gu
On Fri, Jan 28, 2011 at 8:12 AM, Andrew Dunstan and...@dunslane.net wrote: With the attached patch I have managed to get Postgres built and running a clean set of regression tests using the Mingw64 toolset on my 64bit Windows7Pro machine. There's lots of work still to do (lots of warnings to

Re: [HACKERS] mingw64

2011-01-27 Thread Andrew Dunstan
On 01/27/2011 08:23 PM, Xiaobo Gu wrote: On Fri, Jan 28, 2011 at 8:12 AM, Andrew Dunstanand...@dunslane.net wrote: With the attached patch I have managed to get Postgres built and running a clean set of regression tests using the Mingw64 toolset on my 64bit Windows7Pro machine. There's lots

Re: [HACKERS] mingw64

2011-01-27 Thread Xiaobo Gu
On Fri, Jan 28, 2011 at 8:12 AM, Andrew Dunstan and...@dunslane.net wrote: With the attached patch I have managed to get Postgres built and running a clean set of regression tests using the Mingw64 toolset on my 64bit Windows7Pro machine. There's lots of work still to do (lots of warnings to

Re: [HACKERS] mingw64

2011-01-27 Thread Andrew Dunstan
On 01/27/2011 10:37 PM, Xiaobo Gu wrote: --with-system-tzdata=/usr/share/zoneinfo Why on earth are you doing this on Windows? That's crazy. Did you run make check? You should always do that after a build before you install. cheers andrew -- Sent via pgsql-hackers mailing list

Re: [HACKERS] mingw64

2011-01-27 Thread Xiaobo Gu
On Fri, Jan 28, 2011 at 11:44 AM, Andrew Dunstan and...@dunslane.net wrote: On 01/27/2011 10:37 PM, Xiaobo Gu wrote: --with-system-tzdata=/usr/share/zoneinfo Why on earth are you doing this on Windows? That's crazy. Did you run make check? You should always do that after a build before you