On Mon, Dec 01, 2003 at 11:47:48AM +0100, Wolfram Quester wrote: > Hi alltogether! > > gcc produces 64Bit executables by default on UltraSparc. > I consider this a broken behaviour since many debian-packages don't > build any longer: > [EMAIL PROTECTED]:~/src/sodipodi/sodipodi-0.32.uus.20031012$ fakeroot > dpkg-buildpackage -us -uc > <snip> > checking build system type... sparc64-unknown-linux-gnu > checking host system type... sparc64-unknown-linux-gnu > checking for style of include used by make... GNU > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... configure: error: cannot run C > compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > > IMHO, gcc should default to -m32. If it really should default to -m64 > then this should only be done if all libs are 64Bit-compliant.
I'd be interested in the error in config.log Anyhow, you can override this easily by prepeding your build commands with the sparc32 command. E.g. # sparc32 ./configure # sparc32 make I've also added a "permanent" override that will be coming in the next, for those that wish to do a system-wide override. You can just touch /etc/disable_64_gcc, and all the defaults will be -m32. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/

