[Nottingham] gcc install options
Martin
martin at ml1.co.uk
Thu Nov 13 16:49:57 GMT 2003
Martin wrote:
[...]
> The way to do it is:
>
> export MACHTYPE="i686-mandrake-linux-gnu"
>
> Do a 'configure' as normal, and then:
>
> make CFLAGS='-march=athlon-4 -O' LIBCFLAGS='-march=athlon-xp -g -O2'
> LIBCXXFLAGS='-march=athlon-4 -g -O2 -fno-implicit-templates' bootstrap
Ooops! That should be ofcourse:
make CFLAGS='-march=athlon-4 -O' LIBCFLAGS='-march=athlon-4 -g -O2'
LIBCXXFLAGS='-march=athlon-4 -g -O2 -fno-implicit-templates' bootstrap
> (Those flags turn off debug for the compiler, and enables debug for the
> libraries.)
>
>
> The full list is:
>
> +Choose from this list:
> +
> + Intel 386: i386
> + Intel 486: i486
> + Intel Pentium 1: pentium
> + Intel Pentium MMX: pentium-mmx
> + Intel Pentium Pro: pentiumpro
> + Intel Pentium 2: pentium2
> + Intel Pentium 3: pentium3
> + Intel Pentium 4: pentium4
> +
> + AMD K6-1: k6
> + AMD K6-2: k6-2
> + AMD K6-3: k6-3
> + AMD Athlon 1 (Classic): athlon
> + AMD Athlon 2 (Thunderbird): athlon-tbird
> + AMD Athlon 3 (XP): athlon-xp
> + AMD Athlon 4 (Palomino): athlon-4
> + AMD Athlon 5 (MP): athlon-mp
> +
> +Set it to the system with
> +
> + # export CFLAGS=-march=$VALUE
> + # export CXXFLAGS=-march=$VALUE
Martin
--
----------------
Martin Lomas
martin at ml1.co.uk
----------------
More information about the Nottingham
mailing list