avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Buildling files on other drives


From: Bill Collis
Subject: Re: [avr-gcc-list] Buildling files on other drives
Date: Sat, 15 Jun 2002 06:11:21 +1200

Yes Glenn
my experiments so far with it are similar to yours.
I gave up in the end and just deleted those few lines (clean also) from the
avr_make file.
Thanks for your suggestions
Bill

----- Original Message -----
From: "Glenn" <address@hidden>
To: "Ted Larsson" <address@hidden>; "Bill Collis" <address@hidden>
Cc: <address@hidden>
Sent: Saturday, June 15, 2002 2:02 AM
Subject: Re: [avr-gcc-list] Buildling files on other drives


> Bill & all,
>
> I have also been plagued with this problem for some time.
>
> The ugly(!) workaround is to copy the offending commands (rm fails too)
into a
> batch file & call it from make:
>
> For example:
>
> Create cpycoff.bat in the avrfreaks dir with the text:
> cp coff\*sym .
> cp coff\*S .
>
> Then change avr_make to:
>
> %.cof: %.elf
> $(ELFCOF) $< $(OUT) $@ $*.sym
> $(CP) $(OUT)\$@ .
> c:\avegcc\avrfreaks\cpycoff.bat
>
> The same problem exists with the clean target....
> make clean.bat like:
> rm -f coff\*.*
>
> and call that from the clean target.
>
> You can get fancy with make variables & passing them to the batch
processor
> (via %1, %2, etc), but I omitted that for clarity & brevity.
>
> It seems that under XP (and other win versions too!), the binutils shell
has
> problems, but calling it through the comannd processor is OK.
>
> When I can find time & detailed instructions, I intend to compile the
latest
> tools myself (since avrfreaks is so old) to see if it has been fixed.
>
> Kind regards,
> Glenn.
>
> --- Ted Larsson <address@hidden> wrote:
> > Bill Collis (address@hidden) wrote:
> > > No its not the cp file it cant find.
> > > It has been using that successfully up to that point.
> > >
> > > cp is reporting that it cant find something
> > >
> > > the line it comes to in the avr_make is:
> > >     $(CP) $(OUT)\\*sym .
> > > with the variables replaced
> > >      cp coff\\*sym .
> > > and it replies:
> > >     cp: not found
> > >
> > > does anyone know what cp coff\\*sym . means?
> >
> > The line above this one is executed successfully, and it
> > only has one backslash. Try removing one of the backslashes
> > in the makefile on the relevant lines.
> >
> > btw, "cp coff\\*sym ." means copy all files in the coff
> > directory ending with sym to the current directory.
> >
> > Cheers,
> > /Ted
> >
> > avr-gcc-list at http://avr1.org
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>


avr-gcc-list at http://avr1.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]