Thread: Compiling 32-bit for opteron
Hi,
I’ve downloaded the postgresql-7.4.5 source and was able to successfully build and install 64-bit optimized and debuggable versions; however I’m having problems trying to get the 32-bit built. By default it seems to always try to build 64-bit(maybe it triggering directly off ‘uname’ or something). This may be a very basic question but does anyone know how to tell make to perform a 32-bit build instead of 64-bit?
BTW, We are running here: linux on opteron
I really appreciate any help you can provide
Thanks,
Paul
Paul Fornari wrote: > I've downloaded the postgresql-7.4.5 source and was able to > successfully build and install 64-bit optimized and debuggable > versions; however I'm having problems trying to get the 32-bit built. > By default it seems to always try to build 64-bit(maybe it triggering > directly off 'uname' or something). This may be a very basic question > but does anyone know how to tell make to perform a 32-bit build > instead of 64-bit? We would have a much better shot at helping you if you hadn't neglected to tell us exactly what problem you are having. In general, PostgreSQL just picks the first compiler it finds and runs with it. So you probably want to look into configuring your compiler. -- Peter Eisentraut http://developer.postgresql.org/~petere/