piclist 2004\04\24\224308a >
Thread: Still having problems with WinAVR
www.piclist.com/techref/index.htm?key=still+having+problems
flavicon
face BY : Herbert Graf email (remove spam text)



{Quote hidden}

       For make:

C:\>which make.exe
C:\WinAVR\utils\bin\make.exe

       as was pointing to a different tool though, so I fixed that.

       Then it complained about object files missing (crtm162.o), I just copied
them over, don't have time to figure out that crap.

       Now I get the following:

avr-gcc (GCC) 3.3.2
Copyright (C) 2003 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.


Linking: test1.elf
avr-gcc -mmcu=atmega162 -I. -g -Os -funsigned-char -funsigned-bitfields -fpa
ck-struct -fshort-enums -Wall -Wstrict-proto
types -Wa,-adhlns=test1.o -Ic:\winavr\avr\include -std=gnu99 -Wp,-M,-MP,-MT,
test1.o,-MF,.dep/test1.elf.d test1.o   --out
put test1.elf -Wl,-Map=test1.map,--cref  -lm
ld: cannot find -lgcc
make: *** [test1.elf] Error 1

I find no reference to this -lgcc in the makefile so I have NO idea what's
passing it to ld.

I believe I have the "right" ld:

C:\WinAVR\examples\test>which ld.exe
C:\WinAVR\avr\bin\ld.exe


I must say that I will be sending both circuit cellar and Atmel a very terse
letter about how they shouldn't be recommending such crap software to a
newbie.

Thanks again for your help.

----------------------------------
Herbert's PIC Stuff:
http://repatch.dyndns.org:8383/pic_stuff/

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email TakeThisOuTlistservspammitvma.mit.edu with SET PICList DIGEST in the body

<NAEALEBPNOHNGKFACEHAKEJPJKAA.mailinglist2@farcite.net> 7bit

In reply to: <000b01c42a6a$3846a3b0$0801a8c0@kl600>
See also: www.piclist.com/techref/index.htm?key=still+having+problems
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Still having problems with WinAVR

month overview.

new search...