"Peter Alberer" <peter.alberer@xxxxxxxxxxxxx> writes: > Hmm, i just tried to do the same thing (ppc64 sh, ...) but it seems to me > that the result is a 32bit executable: Hmm ... I got an elf64 executable. I'm not entirely sure what drives gcc's default choices about such things [ digs around... ] The compiler I was using says this for "gcc -v" Reading specs from /usr/lib/gcc/ppc64-redhat-linux/3.4.4/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f77 --enable-java-awt=gtk --host=ppc64-redhat-linux Thread model: posix gcc version 3.4.4 20050721 (Red Hat 3.4.4-2) I see "--with-cpu=default32" in your config, which is probably the significant difference, but I don't know what you should do to change that. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster