Tema: Re: nepaleidziu win awr
Autorius: AMB
Data: 2012-02-20 09:07:27
C:\Documents and Settings\ooo>make -v
GNU Make 3.81
Copyright (C) 2006  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.

This program built for i386-pc-mingw32

C:\Documents and Settings\ooo>avr-gcc -v
Using built-in specs.
Target: avr
Configured with:
.../gcc-4.3.3/configure --enable-win32-registry=WinAVR-20100110
--with-gmp=/usr/local --with-mpfr=/usr/local --prefix=/c/WinAVR --target=avr
 --e
nable-languages=c,c++,objc --with-dwarf2 --enable-doc --disable-shared
--disable
-libada --disable-libssp --disable-nls --with-pkgversion='WinAVR
20100110' --wit
h-bugurl='URL:http://sourceforge.net/tracker/?atid=520074&group_id=68108&func=br
owse'
Thread model: single
gcc version 4.3.3 (WinAVR 20100110)

C:\Documents and Settings\ooo>av-size
'av-size' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\ooo>avr-nm -h
Usage: avr-nm [option(s)] [file(s)]
 List symbols in [file(s)] (a.out by default).
 The options are:
  -a, --debug-syms       Display debugger-only symbols
  -A, --print-file-name  Print name of the input file before every symbol
  -B                     Same as --format=bsd
  -C, --demangle[=STYLE] Decode low-level symbol names into user-level names
                          The STYLE, if specified, can be `auto' (the
default),
                          `gnu', `lucid', `arm', `hp', `edg', `gnu-v3',
`java'
                          or `gnat'
      --no-demangle      Do not demangle low-level symbol names
  -D, --dynamic          Display dynamic symbols instead of normal symbols
      --defined-only     Display only defined symbols
  -e                     (ignored)
  -f, --format=FORMAT    Use the output format FORMAT.  FORMAT can be `bsd',
                           `sysv' or `posix'.  The default is `bsd'
  -g, --extern-only      Display only external symbols
  -l, --line-numbers     Use debugging information to find a filename and
                           line number for each symbol
  -n, --numeric-sort     Sort symbols numerically by address
  -o                     Same as -A
  -p, --no-sort          Do not sort the symbols
  -P, --portability      Same as --format=posix
  -r, --reverse-sort     Reverse the sense of the sort
  -S, --print-size       Print size of defined symbols
  -s, --print-armap      Include index for symbols from archive members
      --size-sort        Sort symbols by size
      --special-syms     Include special symbols in the output
      --synthetic        Display synthetic symbols as well
  -t, --radix=RADIX      Use RADIX for printing symbol values
      --target=BFDNAME   Specify the target object format as BFDNAME
  -u, --undefined-only   Display only undefined symbols
  -X 32_64               (ignored)
  @FILE                  Read options from FILE
  -h, --help             Display this information
  -V, --version          Display this program's version number

avr-nm: supported targets: elf32-avr coff-avr coff-ext-avr elf32-little
elf32-bi
g srec symbolsrec tekhex binary ihex
Report bugs to
<URL:http://sourceforge.net/tracker/?atid=520074@report_bugs_to@g
roup_id=68108@report_bugs_to@func=browse>.

Diras WinAVR-20100110. Pathas toks:
C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin
Su tavo make failu ta pati klaida, dar isbandysiu kito kompo
kaip ten.


"Levas" <kazkur@pasbobute.lt> wrote in message 
news:jhrn39$aol$1@trimpas.omnitel.net...
> pasileisk komand prompt. (start->run->cmd).
>
> poto parasyk:
> make -v
> avr-gcc -v
> av-size
> avr-nm -h
>
>
> o su mano make failu ar gaunasi? Kokioje direktorijoje winavr? Ir kokia 
> direktorija path kintamajam (arba make faile)?
> -- 
> Bye, Levas
> --
> http://www.vabolis.lt
>
>
> "AMB" <dfgdgjj@dgdghg.lt> wrote in message 
> news:jhrfnm$1pt$1@trimpas.omnitel.net...
>> Zodziu mistika, nes man tai meta
>> make.exe: *** No rule to make target `main.elf', needed by `elf'.  Stop.
>> be to pasirodo kai padariau make clean, tai nebekompiliuoja ir to 
>> projekto
>> kuri kompiliavo, meta ta pacia klaida.
>>
>>
>> "Levas" <kazkur@pasbobute.lt> wrote in message
>> news:jhnl8d$b18$1@trimpas.omnitel.net...
>>> nzn. Jei paprastas projektas, vienintele nuoroda make file buna i koki
>>> kintamaji, kurio verte tavo projekto pagrindinis motininis failas.
>>> As make failu per daug nekaitalioju ir tik biski paredaguoju.
>>>
>>> Mano naudojam makefile kaitalioju:
>>>
>>> MCU= atmega16
>>> TARGET=main
>>>
>>> Nors makefile galima nurodyti papildomus source, as juos stengiuos ideti
>>> per <include> pacioje programoje.
>>> F_CPU irgi perkeliau i pagrindine programa, kad viskas butu vienoje
>>> vietoje.
>>>
>>> Jei buna kokiu nors asemblerio navarotu (kaip pas USB)
>>>
>>> ASRC= ...
>>>
>>> Nu ir programatorius pasirinktas, kad iskarto ir uzprogramuotu cipa.
>>>
>>>
>>> Beja, tavo duotas make failas puikiausiai veikia su mano paskutiniu
>>> projektu. Viskas susikompiliavo.
>>> -- 
>>> Bye, Levas
>>> --
>>> http://www.vabolis.lt
>>>
>>>
>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>> news:jhmhv9$fqb$1@trimpas.omnitel.net...
>>>> Reikalai pajudejo i gera puse. Kazkieno rasyta projekta jau
>>>> sukompiliuoju,
>>>> bet savo tu keliu eiluciu ne.
>>>> Ismeta
>>>> make.exe: *** No rule to make target `main.elf', needed by `elf'. 
>>>> Stop.
>>>> Makefile viduje nurodau tik to failo pavadinima kuriame rasau teksta, 
>>>> ar
>>>> dar
>>>> reikia kazkokius failus itraukti ?
>>>>
>>>>
>>>> "Levas" <kazkur@pasbobute.lt> wrote in message
>>>> news:jhmgq8$ep2$1@trimpas.omnitel.net...
>>>>> nu path tai ne failas o sistemos kintamasis:
>>>>>
>>>>> C:\Documents and Settings\User.ZANZIBARASIII>path
>>>>> PATH=C:\perl\bin;C:\WinAVR\bin;C:\WinAVR\utils\bin;C:\Program
>>>>> Files\NVIDIA
>>>>> Corpo
>>>>> ration\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
>>>>> C:\Documents and Settings\User.ZANZIBARASIII>
>>>>>
>>>>> ziureti vaizdine priemone prikabinta prie zinutes.
>>>>>
>>>>>
>>>>> -- 
>>>>> Bye, Levas
>>>>> --
>>>>> http://www.vabolis.lt
>>>>>
>>>>>
>>>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>>>> news:jhmge1$ec7$1@trimpas.omnitel.net...
>>>>>> radau path1 ir patch2 failus, juose ir bus beda:
>>>>>>
>>>>>> D:\Borland\Inprise\vbroker\bin;D:\Borland\Delphi7\Bin;D:\Borland\Delphi7\Projects\Bpl\;C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin;C:\Program
>>>>>> Files\NVIDIA
>>>>>> Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
>>>>>> Files\QuickTime\QTSystem\;C:\Program Files\RemObjects
>>>>>> Software\Oxygene\bin
>>>>>>
>>>>>> kas tavo faile nukopink
>>>>>>
>>>>>>
>>>>>>
>>>>>> "Levas" <kazkur@pasbobute.lt> wrote in message
>>>>>> news:jhmg5i$e32$1@trimpas.omnitel.net...
>>>>>>> pakeliui dar visual studio 2010 parsisiusti :) .... matyt taip
>>>>>>> lengviau
>>>>>>> nei PATH komanda perziureti... Arba kai instaliavosi, reikejo 
>>>>>>> "leisti
>>>>>>> modifikuoti path".
>>>>>>>
>>>>>>> -- 
>>>>>>> Bye, Levas
>>>>>>> --
>>>>>>> http://www.vabolis.lt
>>>>>>>
>>>>>>>
>>>>>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>>>>>> news:jhmg07$dt5$1@trimpas.omnitel.net...
>>>>>>>> turiu instaliaves kompe Borland Delphi, gal jis ka daro. Siunciu
>>>>>>>> avrstudio5
>>>>>>>> mazu su juo geriau seksis :)
>>>>>>>>
>>>>>>>>
>>>>>>>> "Levas" <kazkur@pasbobute.lt> wrote in message
>>>>>>>> news:jhmf60$d1p$1@trimpas.omnitel.net...
>>>>>>>>> nieko tu nesupratai. Tu tikriausiai turi Borlando paketa kazkoki 
>>>>>>>>> su
>>>>>>>>> savo
>>>>>>>>> "make". O WinAVR ir kitiems siulaikiniams GNU reikia gnu make.
>>>>>>>>> WinAVR
>>>>>>>>> turejo instaliuoti ta make ir taip pat papildyti PATH kintamaji.
>>>>>>>>> Taciau
>>>>>>>>> matyt tame PATH ar windows sisteminiose direktorijose yra kazkur
>>>>>>>>> kazkoks
>>>>>>>>> senovinis make kuris ir knisa prota.
>>>>>>>>>
>>>>>>>>> todel arba turi issinstaliuoti sena make, arba patiuninti PATH
>>>>>>>>> kintamaji
>>>>>>>>> arba kazkaip nurodyti absoliutu kelia iki make.
>>>>>>>>>
>>>>>>>>> Beja tas pats make tinka ir windowsinem programom kompiliuoti...
>>>>>>>>> -- 
>>>>>>>>> Bye, Levas
>>>>>>>>> --
>>>>>>>>> http://www.vabolis.lt
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>>>>>>>> news:jhmdjr$bdc$1@trimpas.omnitel.net...
>>>>>>>>>> beje cia perskaiciau
>>>>>>>>>> http://www.dreifas.net/tikriausiai-paskutinis-winavr
>>>>>>>>>> tai kaip cia suprasti jau nebepalaikomas tas softas? gal tada
>>>>>>>>>> geriau
>>>>>>>>>> naudot
>>>>>>>>>> Avrstudio5?
>>>>>>>>>>
>>>>>>>>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>>>>>>>>> news:jhmcup$aju$1@trimpas.omnitel.net...
>>>>>>>>>>> parsisiunciau is cia http://winavr.sourceforge.net/
>>>>>>>>>>> gal is kur kitur siustis?
>>>>>>>>>>>
>>>>>>>>>>> programos tekstas:
>>>>>>>>>>>
>>>>>>>>>>> include <avr/io.h>
>>>>>>>>>>>
>>>>>>>>>>> int main (void) {
>>>>>>>>>>>
>>>>>>>>>>>   DDRB  = 0xFF;
>>>>>>>>>>>   PORTB = 0x03;
>>>>>>>>>>>
>>>>>>>>>>>   while(1) {
>>>>>>>>>>>      }
>>>>>>>>>>>
>>>>>>>>>>>      return 0;
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> makefile prisegu, realiai nelabai ten ka pakeiciau kaip buvo.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> "Levas" <kazkur@pasbobute.lt> wrote in message
>>>>>>>>>>> news:jhmc1n$9hb$1@trimpas.omnitel.net...
>>>>>>>>>>>> tai win AVR ar Win AWR? Nes su W tai nezinau.
>>>>>>>>>>>>
>>>>>>>>>>>> Jei tai AVR tai:
>>>>>>>>>>>>
>>>>>>>>>>>> Parodyk makefaila ir projekta.
>>>>>>>>>>>>
>>>>>>>>>>>> Ar prikabintas kompiliuojasi?
>>>>>>>>>>>>
>>>>>>>>>>>> -- 
>>>>>>>>>>>> Bye, Levas
>>>>>>>>>>>> --
>>>>>>>>>>>> http://www.vabolis.lt
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> "AMB" <dfgdgjj@dgdghg.lt> wrote in message
>>>>>>>>>>>> news:jhmb48$8bp$1@trimpas.omnitel.net...
>>>>>>>>>>>>> sugalvojau isbandytti WinAwr. Parsisiunciau, susikuriu nauja
>>>>>>>>>>>>> projekta,
>>>>>>>>>>>>> sukuriu c/c++ faila su programeriu notepadu, issaugau, 
>>>>>>>>>>>>> prijungiu
>>>>>>>>>>>>> prie
>>>>>>>>>>>>> projekto, pridedu Makefile, spaudziu Make All ir nesuprantu 
>>>>>>>>>>>>> kame
>>>>>>>>>>>>> reikalas,
>>>>>>>>>>>>> ismeta :
>>>>>>>>>>>>>
>>>>>>>>>>>>> MAKE Version 5.2  Copyright (c) 1987, 1998 Inprise Corp.
>>>>>>>>>>>>> Error makefile 463: Command syntax error
>>>>>>>>>>>>> Error makefile 464: Command syntax error
>>>>>>>>>>>>> Error makefile 465: Command syntax error
>>>>>>>>>>>>> Error makefile 466: Command syntax error
>>>>>>>>>>>>> Error makefile 469: Command syntax error
>>>>>>>>>>>>> Error makefile 470: Command syntax error
>>>>>>>>>>>>> Error makefile 472: Command syntax error
>>>>>>>>>>>>> Error makefile 473: Command syntax error
>>>>>>>>>>>>> Error makefile 475: Command syntax error
>>>>>>>>>>>>> Error makefile 477: Command syntax error
>>>>>>>>>>>>> Error makefile 478: Command syntax error
>>>>>>>>>>>>> Error makefile 533: Colon expected
>>>>>>>>>>>>> Error makefile 542: Colon expected
>>>>>>>>>>>>> Error makefile 564: Too many rules for target './%.o'
>>>>>>>>>>>>> Error makefile 574: Too many rules for target '%.s'
>>>>>>>>>>>>> Error makefile 581: Too many rules for target './%.o'
>>>>>>>>>>>>> Error makefile 612: Command syntax error
>>>>>>>>>>>>> *** 17 errors during make ***
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Process Exit Code: 1
>>>>>>>>>>>>>> Time Taken: 00:00
>>>>>>>>>>>>>
>>>>>>>>>>>>> Paziuriu makefile faile 463 eilute yra:  @echo load  >>
>>>>>>>>>>>>> $(GDBINIT_FILE)
>>>>>>>>>>>>> Ko truksta?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>
>>