Re: [HACKERS] Fix for cross compilation

2005-07-03 Thread Peter Eisentraut
Tom Lane wrote: > Hmm ... I suppose the implication of that is that the upstream zic > files *are* architecture-independent, else people wouldn't keep them > in /share; and looking at the code, it does seem some effort is made > in that direction. With that in mind, I have installed the original c

Re: [HACKERS] Fix for cross compilation

2005-06-09 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> I'm not real thrilled with the notion of trying to use a zic built by >> a different compiler; I think that will lead to all sorts of >> problems, considering that the files it's meant to write are binary >> and at least potentially

Re: [HACKERS] Fix for cross compilation

2005-06-09 Thread Peter Eisentraut
Tom Lane wrote: > I'm not real thrilled with the notion of trying to use a zic built by > a different compiler; I think that will lead to all sorts of > problems, considering that the files it's meant to write are binary > and at least potentially architecture-specific. Btw., in light of that the

Re: [HACKERS] Fix for cross compilation

2005-05-31 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > Am Montag, 30. Mai 2005 20:11 schrieb Tom Lane: >> Why don't we instead arrange to run it during install? > It does currently run during the install. How does that help? I'm sorry, I meant "later than it is now". Presumably the person doing the cro

Re: [HACKERS] Fix for cross compilation

2005-05-31 Thread Peter Eisentraut
Am Montag, 30. Mai 2005 20:11 schrieb Tom Lane: > Peter Eisentraut <[EMAIL PROTECTED]> writes: > > The problem is that the program zic in src/timezone/ is built and run > > during the build process, which doesn't work if it's compiled by a > > cross-compiler. > > Why don't we instead arrange to run

Re: [HACKERS] Fix for cross compilation

2005-05-30 Thread Tom Lane
Peter Eisentraut <[EMAIL PROTECTED]> writes: > The problem is that the program zic in src/timezone/ is built and run > during the build process, which doesn't work if it's compiled by a > cross-compiler. Why don't we instead arrange to run it during install? I'm not real thrilled with the notio

Re: [HACKERS] Fix for cross compilation

2005-05-30 Thread Bruce Momjian
What about our threading configure test? That doesn't allow cross compilation either, does it? --- Peter Eisentraut wrote: > In 8.0, PostgreSQL lost its previously postulated ability to be > cross-compiled and it turns out