Larry Rosenman <[EMAIL PROTECTED]> writes: > On Tue, 22 Jan 2008, Gregory Stark wrote: >> We've been through this once already. You can't do it (cleanly) with just >> Makefile hackery. The architectures have different endianness and possibly >> other ABI differences. To handle that cleanly you have to run configure once >> for each architecture and build each architecture with the appropriate >> config.h. >> > Could we then combine the executables into one 4-way fat binary ?
Maybe you need to be thinking about a script that is "outside" the build system: run the configure/make/make install process 4 times, then combine the results. You could use the fact that some file is not the same in all 4 install trees as the trigger driving a combination process. (Shades of multilib RPMs ...) regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate