I am currently studying about programming Atmega32 controller using C.
So I tried to get the avr-gcc toolchain with avrdude working on my Fedora 20.
I created a folder named "avr" in my home directory, a subdirectory called "toolchain", and unzipped both avr8-gnu-linux_x86 and avrdude packages into it. Then from the avrdude folder i did the following :-
./configure --prefix=~/avr/toolchain/avr8-gnu-linux_x86
make
make install
and avrdude executable was created in the prefix i specified.
I also set the appended the $PATH variable with the bin folder inside avr8-gnu-linux_x86 folder.
Two sets of executables are made. One in the avr8-gnu-linux_x86/bin folder (with the avr prefix ,e.g avr-gcc) and other in the avr8-gnu-linux-x86/avr/bin folder (without avr prefix eg. gcc,ld)
The problem is that whenever i try to use the gcc (without the prefix) compiler give along with the package, it shows me an error, "error trying to exec cc1".
I searched on the net for an answer but this error seems to be very general. So is there any way to get rid of this w.r.t my specific situation?
Thanks