avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Installing avr-gcc


From: Arreckx
Subject: Re: [avr-gcc-list] Installing avr-gcc
Date: Sun, 18 Mar 2001 10:05:12 -0000

> Hi!
>
> I'm about to install avr-gcc on a RedHat7.0 system and I'm a
> bit worried about what the `make install` will do... Will it
> overwrite the existing installation of gcc? Is there
> anything like this that I should think of and make
> preparations for, before I do the installation?
> To make it clear what I want: I want to have gcc installed
> and working for both x86 and avr.
>
> I intend to follow the instructions on this site:
> home.overta.ru/users/denisc/
> Or does anyone have any other suggestions?
>
> Any hints wellcome...
> /Gabriel

To be real safe, you could set -prefix in the build configure to something
like /usr/local/avr.

But even if you haven't, don't worry, at least it will not override your
existing gcc.

The GCC guys have thought of that. Different targets uses different names.
So avr-gcc tools are all prefixed 'avr-' in the common /bin directory.
(Typically /usr/local/bin).
The install will also create gcc, ar, as etc... for the avr, but will copy
these in an avr sub-directory.
Just watch for what goes in /usr/local/include. The avr install will copy at
least 3 headers in there. These headers are not avr specific but matches
with the latest GCC distribution. But these should still work fine.
Backup you /usr/lib and /usr/include in case of doubt, but it works for me !

Bill.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]