BINUTILS-CONFIG(8) Gentoo BINUTILS-CONFIG(8)NAMEbinutils-config - manage active versions of the binutils programs
DESCRIPTION
The binutils-config script allows you to switch between different ver‐
sions of binutils when you have installed multiple copies (see USE=mul‐
tislot). It also allows you to manage multiple cross-compiling targets
simultaneously.
Remember, you may have one version of binutils active per CTARGET, and
changing the version for one target has no bearing on any other. So
changing an active cross-compiler will not break your native compiler
(i.e. CHOST).
SYNOPSISbinutils-config [crufty options] PROFILE
binutils-config--get-current-profile [TARGET]
binutils-config--list-profiles
binutils-config--uninstall TARGET
GENERIC OPTIONS
PROFILE
Change the system to use the specified binutils version. This
may take the form of the list index number (the number shown on
the left in the --list-profiles output), a full TARGET-VERSION
(useful when working with cross-compilers), just a TARGET where
the VERSION is picked from the active, or just a binutils VER‐
SION where the TARGET is assumed to be the native HOST value.
TARGET Similiar to PROFILE, but this is only the target and no version
info (i.e. CTARGET or CHOST).
-c, --get-current-profile [TARGET]
Display the active profile for TARGET. If none is specified,
the host system's TARGET will be shown (i.e. CHOST).
-l, --list-profiles
Show all the profiles that your system currently has installed
and what versions are active. The active native version is
noted with a bright green asterisk while the active cross-com‐
piler versions are noted with a light blue asterisk.
-u, --uninstall TARGET
This is really for internal use only. Used to remove all traces
of the TARGET binutils from your system.
CRUFTY OPTIONS--gold Change the default linker for the specified PROFILE to the
[newer] gold linker. This only works if the binutils actually
supports gold. Note that not all options supported by the bfd
linker are supportd by the gold linker.
--bfd Change the default linker for the specified PROFILE to the
[older but stable] bfd linker. If unsure, stick to this one.
--amd64
A nice feature of the amd64/x86 toolchain is that each can pro‐
duce code for other. The typical user could care less, but some
may want to be able to cross-compile for an amd64 on a x86 sys‐
tem. This will install the extra symlinks ('x86_64') to facili‐
tate this process.
--arm The arm architecture comes in both big and little endian ver‐
sions. Typically you only need support for the native target,
but sometimes it's helpful to have links for the other endian
target. This will make sure you have both the big endian target
('armeb') and the little endian target ('arm').
--mips The mips architecture (like arm) comes in both big and little
endian versions. Typically you only need support for the native
target, but sometimes it's helpful to have links for the other
endian target. This will make sure you have both the big endian
target ('mips') and the little endian target ('mipsel').
--x86 One oddity of the x86 toolchain is that they may be named
'i386', or 'i486', or 'i586', or 'i686', yet still produce the
same exact code. When dealing with distcc systems that are
mixed (some i586 and some i686), you will need symlinks for all
these targets. This option will install those extra targets.
REPORTING BUGS
Please report bugs via http://bugs.gentoo.org/
SEE ALSOar(1), as(1), ld(1), nm(1), objcopy(1), ranlib(1), readelf(1),
strings(1), strip(1)FILES
/usr/bin/binutils-config
/etc/env.d/binutils/*
AUTHORS
Mike Frysinger <vapier@gentoo.org>
Gentoo Jan 2005 BINUTILS-CONFIG(8)