Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Problem using MAKE

2005-04-10 by arhodes19044

I definitely do not get the same results as you.  I will re-install 
WinAVR and try again!

-Tony

--- In AVR-Chat@yahoogroups.com, "Leon Heller" <leon.heller@d...> 
wrote:
> ----- Original Message ----- 
> From: arhodes19044
> To: AVR-Chat@yahoogroups.com
> Sent: Sunday, April 10, 2005 2:12 PM
> Subject: [AVR-Chat] Re: Problem using MAKE
> 
> 
> 
> Running MAKE from DOS?  Oh, Oh.  In XP (home), all that I can do, 
as
> far as I know, is open a DOS box.  I do not think that I can  drop
> into raw DOS the way I could in 98.
> 
> Isn't a DOS box good enough?
> 
> I did get a DOS box to come up and I can CD to the demo directory.
> From there I can issue the MAKE command.  MAKE does run, but says 
it
> can not see the makefile.  Of course the Makefile is right there in
> the current directory.
> 
> Why would this be?
> 
> It does not even like the "clean" arg to follow the MAKE command.
> 
> I am a little mystified.
> 
> 
> Just open a DOS box, that's what I do.
> 
> Here's what I get:
> 
> C:\WinAVR\examples\demo>make clean
> rm -rf *.o demo.elf *.eps *.png *.pdf *.bak
> rm -rf *.lst *.map *.hex *.bin *.srec
> 
> C:\WinAVR\examples\demo>make
> avr-gcc -g -Wall -O2 -mmcu=atmega8    -c -o demo.o demo.c
> avr-gcc -g -Wall -O2 -mmcu=atmega8  -Wl,-Map,demo.map -o demo.elf 
demo.o
> avr-objdump -h -S demo.elf > demo.lst
> avr-objcopy -j .text -j .data -O ihex demo.elf demo.hex
> avr-objcopy -j .text -j .data -O binary demo.elf demo.bin
> avr-objcopy -j .text -j .data -O srec demo.elf demo.srec
> avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O ihex 
demo.elf 
> demo_eepr
> om.hex
> avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O binary 
demo.elf 
> demo_ee
> prom.bin
> avr-objcopy -j .eeprom --change-section-lma .eeprom=0 -O srec 
demo.elf 
> demo_eepr
> om.srec
> 
> C:\WinAVR\examples\demo>
> 
> Leon
> --
> Leon Heller, G1HSM
> http://www.geocities.com/leon_heller

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.