[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] work in linux
From: |
Matt.VanDeWerken |
Subject: |
RE: [avr-gcc-list] work in linux |
Date: |
Thu, 20 Jan 2005 10:43:53 +1000 |
In gentoo I'd type:
emerge avr-libc, and it'll install the necessary files (similar to
portinstall).
I don't know whether packages are available for other distros, but I'd
imagine it'd be the case. I know that under slackware I had to make
binutils, download gcc, make a cross compiler, then compile the
avr-libc. But it was a great learning experience as to how all the
components fit together. Lucky I did it on my own dime, not that of my
employer ;-).
Cheers,
Matthew van de Werken - Electronics Engineer
CSIRO E&M - Mining Geoscience - 1 Technology Court - Pullenvale - 4069
p: (07) 3327 4142 * f: (07) 3327 4455 * e: address@hidden
"Pressure, I'll tell you what pressure is. Pressure is a Messerschmitt
up your arse, playing cricket is not"
- Cricketer and WWII Fighter Pilot Keith Miller (1919-2004)
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of David Kelly
Sent: Thursday, 20 January 2005 10:25 AM
To: AVR-GCC
Cc: lgpavrgcc
Subject: Re: [avr-gcc-list] work in linux
On Jan 19, 2005, at 2:02 AM, lgpavrgcc wrote:
> Hello every body!
> I want to complies my c code in linux. But I don't know where can I
> download gcc for avr and binutils for avr. Can you give me a address?
In FreeBSD all one has to do (as root) is type this line and sit back
to watch the show. Whatever is missing will be downloaded (its smart
enough to know more than one place to find the files), patched (if
necessary), configured, compiled, then installed in a sane location and
configuration. Thanks to Joerg Wunsch for avr-binutils, avr-gcc,
avr-gdb, and avr-libc/.
# portinstall avr-libc
The avr-libc port requires avr-gcc so the above will also install
avr-gcc as a dependancy.
If one doesn't have the "portupgrade" port installed then one doesn't
have "portinstall". "cd /usr/ports/devel/avr-libc; make install && make
clean" is practically the same as "portinstall avr-libc".
If Linux lacks an "RPM" or equivalent of "FreeBSD port" for the AVR
tools then somebody ought to do something about it.
--
David Kelly N4HHE, address@hidden
========================================================================
Whom computers would destroy, they must first drive mad.
_______________________________________________
avr-gcc-list mailing list
address@hidden http://www.avr1.org/mailman/listinfo/avr-gcc-list