PDA

View Full Version : where is avr-gcc ,binutils-avr, avr-libc in ubuntu7.10


amarender
April 5th, 2008, 09:51 AM
i am cross compiling avr code on ubuntu 7.10 PC.
in the MAKEFILE i've supply

like this
DIRAVR = /-----/----------
DIRAVRBINUTILS = /--------/------
DIRAVRLIB = /---------/-----------

So what should i substitute in the place of /---------/-----------/------....

thisismalhotra
April 7th, 2008, 06:47 AM
Try following commands:-

sudo updatedb
locate <what you want?>

Post again if you dont get what you want?? You might wanna look in synaptic and see if the lib are installed. Also, please install a package called build-essential before you compile anything.

Compilers are not packaged by default in ubuntu.

amarender
April 9th, 2008, 01:37 AM
synaptic showing these are installed but i want a purticuler location of these to invoke binaries from makefile

thisismalhotra
April 9th, 2008, 06:40 AM
synaptic showing these are installed but i want a purticuler location of these to invoke binaries from makefile

I would use locate but update the db first and see if it works for you...

sudo updatedb
locate <what you want?>