|Re: using specific version of gcc [message #2696 is a reply to message #2668]
||Thu, 07 May 2009 14:43
| Dave Russo
Registered: July 2009
Patrick Geremia wrote:|
> as far as I know a gcc version is not bundled with a binutils version.
> When you work with a linux distro (RHEL4.7 in my case, which features
> gcc version 3.4.6), the archiver and gcc will be located both in /usr/bin.
> Now I may need to use a more recent version of gcc (4.3.2 for example),
> our IT group installs it somewhere on our network (in our case
> /apps/free/gcc/4.3.2) but the archiver remains in its original location
> i.e. the /usr/bin. Hence my configuration. I do not see any improper
> installation here.
> Would you agree?
ar is not part of the gcc distribution and yet it is a necessary tool.
Moreover, binutils contains several other invaluable tools; e.g., as,
ld, nm, size, strip, objdump, ... In my experience, every gcc
distribution includes some version of binutils.
On the other hand, ar is a _very_ simple tool that is independent of the
target architecture; i.e., you can use virtually any version of ar for
any cross-compiler that operates on a given host.
Powered by FUDForum
. Page generated in 0.01556 seconds