avr-gcc and libc-avr

Questions about applications and software
Forum rules
Before you post please read this

avr-gcc and libc-avr

Postby arta on Thu Jan 05, 2012 3:54 pm

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
I have fought reality for forty years. I have finally beaten it into submission, but it's fighting back with vigor.
arta
Level 1
Level 1
 
Posts: 29
Joined: Tue Feb 26, 2008 8:28 pm
Location: Louisville, KY

Linux Mint is funded by ads and donations.
 

Re: avr-gcc and libc-avr

Postby xenopeek on Thu Jan 05, 2012 4:13 pm

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
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14890
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: avr-gcc and libc-avr

Postby zerozero on Thu Jan 05, 2012 4:56 pm

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.
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6484
Joined: Tue Jul 07, 2009 2:29 pm

Re: avr-gcc and libc-avr

Postby DrHu on Thu Jan 05, 2012 5:07 pm

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..
Last edited by DrHu on Thu Jan 05, 2012 5:09 pm, edited 2 times in total.
User avatar
DrHu
Level 16
Level 16
 
Posts: 6833
Joined: Wed Jun 17, 2009 8:20 pm

Re: avr-gcc and libc-avr

Postby xenopeek on Thu Jan 05, 2012 5:08 pm

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.
User avatar
xenopeek
Level 21
Level 21
 
Posts: 14890
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: avr-gcc and libc-avr

Postby arta on Thu Jan 05, 2012 8:52 pm

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
I have fought reality for forty years. I have finally beaten it into submission, but it's fighting back with vigor.
arta
Level 1
Level 1
 
Posts: 29
Joined: Tue Feb 26, 2008 8:28 pm
Location: Louisville, KY

Re: avr-gcc and libc-avr

Postby niklase on Mon Jan 23, 2012 6:37 am

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
niklase
Level 1
Level 1
 
Posts: 2
Joined: Mon Jan 23, 2012 6:26 am

Re: avr-gcc and libc-avr

Postby zerozero on Mon Jan 23, 2012 6:55 am

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?
Image

[ bliss of ignorance ]
zerozero
Level 16
Level 16
 
Posts: 6484
Joined: Tue Jul 07, 2009 2:29 pm

Re: avr-gcc and libc-avr

Postby niklase on Mon Jan 23, 2012 7:14 am

zerozero: no problem, fully aware that unicorns 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". :)
niklase
Level 1
Level 1
 
Posts: 2
Joined: Mon Jan 23, 2012 6:26 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 6 guests