Hi all I am into using CAN FESTIVAL stack over ATMEGA64. The stack is a gcc code and I am new to gcc. I chose to work on WinAVR on windows. I made a sample makefile using Mfile tool for testing. My first hurdle was that I couldn't add more than one source code file to the makefile. So I started with adding just one .c file. Secondly I expected it to give errors as I hadnt mentioned path for headers. But The program ended giving following output ###############################################################> "make.exe" all-------- begin -------- avr-gcc (WinAVR 20080610) 4.3.0 Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -------- end --------> Process Exit Code: 0 > Time Taken: 00:01#################################################### I dont think that source code was even touched! Please help me run the source code on WinAVR. If anyone wants to, I can post the whole makefile here. Thanks in advance Regards Vikram Varshney
using winavr
Started by ●October 22, 2008
Reply by ●October 22, 20082008-10-22
On Oct 22, 7:28 am, "vikram.varshney" <vikram.varsh...@maharan- intl.com> wrote:> Hi all > I am into using CAN FESTIVAL stack over ATMEGA64. The stack is a gcc code > and I am new to gcc. I chose to work on WinAVR on windows. I made a sample > makefile using Mfile tool for testing. > > My first hurdle was that I couldn't add more than one source code file to > the makefile. So I started with adding just one .c file. Secondly I > expected it to give errors as I hadnt mentioned path for headers. > > But The program ended giving following output > ############################################################### > > > "make.exe" all > > -------- begin -------- > avr-gcc (WinAVR 20080610) 4.3.0 > Copyright (C) 2008 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is > NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > -------- end -------- > > > Process Exit Code: 0 > > Time Taken: 00:01 > > #################################################### > > I dont think that source code was even touched! Please help me run the > source code on WinAVR. If anyone wants to, I can post the whole makefile > here. > > Thanks in advance > > Regards > Vikram VarshneyThere is a makefile for avr-gcc.exe provided with the CAN Festival package. Use that.