uname -a NetBSD myhost.mydom 6.1.5 NetBSD 6.1.5 (GENERIC) sparc64 file /usr/bin/gcc/usr/bin/gcc: ELF 64-bit MSB executable, SPARC V9, relaxed memory ordering, (SYSV), dynamically linked (uses shared libs), for NetBSD 6.1.5, not stripped
gcc -v Using built-in specs. COLLECT_GCC=gcc Target: sparc64--netbsdConfigured with: /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=sparc64--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb2 20111202' --enable-__cxa_atexit --with-mpc=/var/obj/mknative/sparc64/usr/src2/destdir.sparc64/usr --with-mpfr=/var/obj/mknative/sparc64/usr/src2/destdir.sparc64/usr --with-gmp=/var/obj/mknative/sparc64/usr/src2/destdir.sparc64/usr --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.56 --host=sparc64--netbsd
Thread model: posix gcc version 4.5.3 (NetBSD nb2 20110806) Am 17.08.2015 um 09:43 schrieb Dennis Luehring:
Am 17.08.2015 um 09:39 schrieb Martin Husemann: > On Mon, Aug 17, 2015 at 09:36:29AM +0200, Dennis Luehring wrote: > > are all program under NetBSD SPARC64 64bit or is there a mix between 64 > > and 32bit? > > A standard install gets you everything in 64bit, and all pkgsrc pkgs > create 64 bit binaries as well. > > There are 32bit libraries, so you can use -m32 to force compilation of > 32bit programs if you want. > > Martin first i've installed debian 7.8 on sparc64 - but the resulting installation was just too slow (building cmake tooked 10h) Aurelien Jarno (qemu developer) told me that pure 64bit should be much faster (due to not needed 32/64bit translation) and showed numbers that prooved it - but he is using some unstable port of debian and i want to give NetBSD a try - currently compiling perl and its compareable slow like debian - could it be that the NetBSD 6.1.5 SPARC64 gcc is 32bit?