Yahoo Groups archive

AVR-Chat

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

Message

Re: Same code different results

2013-07-28 by englsprogeny1

I figured this out!  If anyone upgrades their machine, be careful to do it correctly.

When I built my Windows 7 machine I installed a new version of WinAVR.  I copied over the original WinAVR (and AVRLib) directory, as well.

All of my projects (the makefile) points to this original directory.

The new install of WinAVR set the path in Environmental Variables to point to the new WinAVR directory.  I changed the path to point to my original WinAVR directory, rebooted, rebuilt, AND perfect!


I should probably figure out how to get my builds to work when pointing to the new WinAVR directory.

Actually, I see that the makefile points to AVR and AVRLIB.

Perhaps I just neeed to update this in all my projects.


AVR = C:\WinAVR-SEP_08_20080610

AVRLIB = C:\WinAVR-SEP_08_20080610\avrlib


Thanks for your help guys!


--- In AVR-Chat@yahoogroups.com, "englsprogeny1" <englsprogeny1@...> wrote:
>
> Yes,
> 
> I've used a compare utility to compare the entire directory between my new  build and the archived build.
> 
> All 4 *.lst files change and of course the *.elf file and *.hex files are different.
> 
> Of course, the source files *.C, *.h, makefile remain unchanged.
> 
> The *.aps file remains the same as well.
> 
> 
> The new build directory is a copy of the archived directory, just rebuilt.
> 
> 
> 
> 
> 
> 
> 
> --- In AVR-Chat@yahoogroups.com, Cagri Tanriover <dr_cagri_tanriover@> wrote:
> >
> > 
> > Have you tried comparing the archived version and the version that does not work using a tool such as Beyond Compare? This will clearly show any differences between the two versions if any exists.
> > 
> > Since the two hex files are different, there must be a difference somewhere in the two projects. The above tool will help you identify this on a file by file basis.
> > 
> > Regards...
> > 
> > [Non-text portions of this message have been removed]
> >
>

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.