avr-gcc and libc-avr

Archived topics about LMDE 1 and LMDE 2
Locked
arta

avr-gcc and libc-avr

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29505
Joined: Wed Jul 06, 2011 3:58 am

Re: avr-gcc and libc-avr

Post 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
Image
zerozero

Re: avr-gcc and libc-avr

Post 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.
DrHu

Re: avr-gcc and libc-avr

Post 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..
Last edited by DrHu on Thu Jan 05, 2012 5:09 pm, edited 2 times in total.
User avatar
xenopeek
Level 25
Level 25
Posts: 29505
Joined: Wed Jul 06, 2011 3:58 am

Re: avr-gcc and libc-avr

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

Re: avr-gcc and libc-avr

Post 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
niklase

Re: avr-gcc and libc-avr

Post 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
zerozero

Re: avr-gcc and libc-avr

Post 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?
niklase

Re: avr-gcc and libc-avr

Post 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". :)
Locked

Return to “LMDE Archive”