Page 1 of 1

avr lite with winavr

PostPosted: Mon Nov 03, 2003 6:03 am
by Phil W
I have decided to look at salvo with gccavr.
I have downloaded and installed the latest winavr as also avrlite 3.2.3

I assumed the tutorials should compile without modification to any files. However not so.

I am new to gcc and makefiles, being used to iar.

the error that comes up when doing make all from edit that comes with winavr is as follows

makefile:350: c:/salvo/src/make/makefile_autolibs: No such file or directory
set -e; avr-gcc -MM -mmcu=at90s8515 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=c:/salvo/src/mem.lst -D SYSY -D MAKE_WITH_FREE_LIB=1 -I c:/salvo/tut/tu1 -I c:/salvo/inc -L c:/salvo/lib/gccavr c:/salvo/src/mem.c
| sed 's,(.*).o[ :]*,1.o 1.d : ,g' > c:/salvo/src/mem.d;
[ -s c:/salvo/src/mem.d ] || rm -f c:/salvo/src/mem.d
set -e; avr-gcc -MM -mmcu=at90s8515 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=../main.lst -D SYSY -D MAKE_WITH_FREE_LIB=1 -I c:/salvo/tut/tu1 -I c:/salvo/inc -L c:/salvo/lib/gccavr ../main.c
| sed 's,(.*).o[ :]*,1.o 1.d : ,g' > ../main.d;
[ -s ../main.d ] || rm -f ../main.d
make: *** No rule to make target `c:/salvo/src/make/makefile_autolibs'. Stop.

Any help please

regards
Phil


Re: avr lite with winavr

PostPosted: Mon Nov 03, 2003 6:53 am
by Phil W
Sorry,

I reinstalled salvo lite but did a complete install instead of selected install.

All works fine now, thanks


Phil


Re: avr lite with winavr

PostPosted: Mon Nov 03, 2003 7:40 am
by aek
Hi Phil.
quote:
I reinstalled salvo lite but did a complete install instead of selected install.
By that, do you mean that you did a Typical install instead of a Custom install the second time, or that you did a Typical install both times, but left ICC selected (as well as AVR-GCC) the second time?

It's possible that certain files (like makefile_autolibs) are incorrectly "tied" to certain installer behavior ...

------------------


Re: avr lite with winavr

PostPosted: Mon Nov 03, 2003 9:56 am
by Phil W
Hi,

I did a typical instead of a custom

Phil


Re: avr lite with winavr

PostPosted: Tue Nov 04, 2003 2:30 am
by aek
Hi Phil.

Those makefiles are available in the Sources -> Makefiles group when doing a Custom install.

BTW, as of Salvo v3.2, you can usually install any Salvo distribution "over" any other one without losing important files -- e.g. install Salvo Lite AVR over Salvo Pro MSP430, and only the common files (e.g. salvo.h) which have been updated will be replaced.

------------------


Re: avr lite with winavr

PostPosted: Tue Nov 04, 2003 2:41 am
by Phil W
Thanks for the info.

Phil