Re: [dwm] improve config.mk

From: Anselm R. Garbe <arg_AT_10kloc.org>
Date: Thu, 7 Sep 2006 11:17:35 +0200

On Thu, Sep 07, 2006 at 11:01:58AM +0200, Cedric Krier wrote:
> I made also a test. I compile dwm with
>
> gcc -v
> Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
> Configured with: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/configure
> --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6
> --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include
> --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6
> --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man
> --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info
> --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3
> --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
> --enable-nls --without-included-gettext --with-system-zlib
> --disable-checking --disable-werror --disable-libunwind-exceptions
> --disable-multilib --disable-libgcj --enable-languages=c,c++
> --enable-shared --enable-threads=posix --enable-__cxa_atexit
> --enable-clocale=gnu
> Thread model: posix
> gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
>
> -rwxr-xr-x 1 ced users 32660 2006-09-07 10:47 dwm.O3
> -rwxr-xr-x 1 ced users 32564 2006-09-07 10:48 dwm.O3.athlon-xp
>
> wc dwm.*.objdump
> 9649 58836 486225 dwm.O3.athlon-xp.objdump
> 9722 60004 503558 dwm.O3.objdump
>
> There is 73 instructions in less. I know it is not very important but
> there is a difference.

Yes, that's because your compiler specs are using i686 instead
of athlon-xp, so no surprise.

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Thu Sep 07 2006 - 11:17:35 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:31:03 UTC