[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Buildling files on other drives
From: |
Glenn |
Subject: |
Re: [avr-gcc-list] Buildling files on other drives |
Date: |
Fri, 14 Jun 2002 07:02:44 -0700 (PDT) |
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
- [avr-gcc-list] Buildling files on other drives, Bill Collis, 2002/06/14
- Message not available
- Re: [avr-gcc-list] Buildling files on other drives, Bill Collis, 2002/06/14
- Re: [avr-gcc-list] Buildling files on other drives, Ted Larsson, 2002/06/14
- Re: [avr-gcc-list] Buildling files on other drives,
Glenn <=
- Re: [avr-gcc-list] Buildling files on other drives, Bill Collis, 2002/06/14
- [avr-gcc-list] Success! CVS MinGW32 AVR tools build... coff output works with AVR Studio 3.54/4.0build2 Simulators!!, Tony Mahar, 2002/06/14
- Message not available
- [avr-gcc-list] Latest-CVS AVR-GCC Build Writeup, Tony M, 2002/06/17
- Re: [avr-gcc-list] Latest-CVS AVR-GCC Build Writeup, Maurizio Ferraris, 2002/06/17
- Re: [avr-gcc-list] Latest-CVS AVR-GCC Build Writeup, Marc Wetzel, 2002/06/17
- [avr-gcc-list] Communicate with GSM phone over RS 232, Robert Rozman, 2002/06/17
- Re: [avr-gcc-list] Latest-CVS AVR-GCC Build Writeup, Tony M, 2002/06/17