Page 1 of 1

avr-gcc and libc-avr

Posted: Thu Jan 05, 2012 3:54 pm
by arta
Does anyone know what repository has avr-gcc and libc-avr? I just installed LMDE 64bit and I have arduino software installed and it needs these two files to compile. I found a couple of references in the forum but I think they are for an older version because while they installed they did not function. I'm new to Debian and I'm a bit confused about which Debian version I'm running. The version of LMDE is 201109 with pack 3 installed.

thanks
Art

Re: avr-gcc and libc-avr

Posted: Thu Jan 05, 2012 4:13 pm
by xenopeek
I think you mean gcc-avr and avr-libc? (switched the words around the dashes)

Both should be available for download using your package manager. No need to hunt the Internet, but here are the packages just to be sure:
http://packages.debian.org/wheezy/gcc-avr
http://packages.debian.org/wheezy/avr-libc

Re: avr-gcc and libc-avr

Posted: Thu Jan 05, 2012 4:56 pm
by zerozero
vincent,
if it's gcc-avr and avr-libc, and if arta is using the UP3 those pkgs are not available in his/her repository
http://packages.qa.debian.org/g/gcc-avr.html
http://packages.qa.debian.org/a/avr-libc.html
(removed from testing on the 8th/jul/11 - migrated to testing again on the 1st/dec/11) <-UP3 was frozen around end(ish) aug.

Re: avr-gcc and libc-avr

Posted: Thu Jan 05, 2012 5:07 pm
by DrHu
Well you might try the straight Debian collection (sid version)
http://packages.debian.org/sid/gcc-avr
http://packages.debian.org/sid/amd64/gcc-avr/download
--add their Debian repository url to the /etc/apt/sources.list file if you want to try with synaptic etc..

Re: avr-gcc and libc-avr

Posted: Thu Jan 05, 2012 5:08 pm
by xenopeek
zerozero wrote:vincent,
if it's gcc-avr and avr-libc, and if arta is using the UP3 those pkgs are not available in his/her repository
http://packages.qa.debian.org/g/gcc-avr.html
http://packages.qa.debian.org/a/avr-libc.html
(removed from testing on the 8th/jul/11 - migrated to testing again on the 1st/dec/11) <-UP3 was frozen around end(ish) aug.
Okay, so then arta could download the .deb files from Debian website instead, right? The dependencies look like they should be satisfiable from LMDE.

Re: avr-gcc and libc-avr

Posted: Thu Jan 05, 2012 8:52 pm
by arta
Thanks for the help. You are of course correct about the names. I had the avr part in the wrong place. I pasted the following into the sources.list file and found the most recent version of the arduino IDE and installed that and it compiles as expected.
deb http://ftp.de.debian.org/debian sid main
Thanks again
Art

Re: avr-gcc and libc-avr

Posted: Mon Jan 23, 2012 6:37 am
by niklase
I added this:
deb http://ftp.de.debian.org/debian sid main
to sources.list and got gcc-avr etc. But sid (unstable) is not listed here http://www.linuxmint.com/download_lmde.php "Yes, 100%. LMDE is compatible with repositories designed for Debian Testing or Debian Squeeze."

So I recommend not adding sid to your sources.list and to get packages from testing or squeeze instead.


The thing is that I checked for updates, and got sid packages that broke some things. Is there a way of reverting the package updates (possibly even kernel was updated), i.e. downgrading to latest versions in testing/squeeze/mint?

Regards
/Niklas

Re: avr-gcc and libc-avr

Posted: Mon Jan 23, 2012 6:55 am
by zerozero
Niklas,
sorry to hear that, but:
- you have to know what you are doing when you enable sid in your sources.list;
- the description you make is vague: what exactly did you pull out from sid with that update? what exactly is broken?
- it looks like (but it's just trying to read between the lines) that you did a full update with the sid line enabled (the only way to explain that you have a new kernel)
- from where did you start, latest/incoming, testing?

Re: avr-gcc and libc-avr

Posted: Mon Jan 23, 2012 7:14 am
by niklase
zerozero: no problem, fully aware that shit hits the fan from time to time. mostly mocking around.

thought to ask if someone had a nice one-liner or such to use with aptitude/apt-get/synaptic for when a repository has been deleted. but will probably just re-install same or other dist, as I do now and then.

would have been more cautious if not on a system for "fiddling". :)