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

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

[no subject]



Another message suggests to configure GCC with the following
configure option:
    --with-gc=3Dsimple=20
http://sources.redhat.com/ml/cygwin/2000-11/msg01094.html

Maybe Gunnar could try out to compile avr-gcc using the above=20
option.

Regards
    Peter



From time to time I test avr-gcc with gcc.c-torture/execute/*.c it's
about 300 tests.
I'm planning to test avr-gcc on this week or on next week.

Denis.




From Spain hello and welcome, Barry.
I'm working with Atmel microcontrollers only few months ago.
I'm starting developing a system based in Atmega163 to send alarms through
GSM modem.
I'd say much more but my English is very bad, so I say:
"El ambiente es bueno, y hay gente que ademas de generosa sabe un huevo".
Regards Gins




From my experience, using only -g and not using -O? is what you should do 
when you have to go into debugger. Besides, in the debugger, optimizing 
your program is a moot point.

Ted Roth

On Wed, 28 Nov 2001, Scott Finneran wrote:

:)Hello everyone,
:)
:)Apologies if this seems a little off-topic. I am currently experiencing
:)a problem with gdb-5.0 (patched for the AVR). It seems that GDB is
:)unable to correctly align program space addresses with source lines.
:)Running with -O0 does of course help a little but certainly does not fix
:)the problem entirely.
:)
:)We are not talking about minor errors either. Quite often, GDB will say
:)that a program address corresponds to a line number > the length of the
:)source file. This also occurs regardless of whether the source contains
:)C or C++ or a combination of the two.
:)
:)Even some help determining if the fault lies in GCC/G++ producing the
:)elf files or in GDB reading them would be greatly appreciated.
:)(avr-objdump isn't really appropriate for this as it may contain the
:)same bug!)
:)
:)In case my mistake lies in a selection of my cmd-line args, source file
:)compilations look like this:
:)cook: avr-gcc -I./library/hdr -Ibl/library/hdr -Iblbl/library/hdr
:)      -Iblblbl/library/hdr -I/usr/local/include -I. -Ibl -Iblbl -Iblblbl
:)      -I./flasher/hdr -Ibl/flasher/hdr -Iblbl/flasher/hdr
:)      -Iblblbl/flasher/hdr -I./ucosii/hdr -Ibl/ucosii/hdr -Iblbl/ucosii/hdr
:)      -Iblblbl/ucosii/hdr -I/usr/local/avr/include -D__AVR_ATmega128__
:)      -DOS_UCOSII -Wa,-gstabs -mmcu=atmega128 -g -O0 -Wall -Werror
:)      -save-temps -c flasher/src/main.c
:)      -Wa,-ahl=flasher/src/ATmega128-ucos/main.lst -o
:)      flasher/src/ATmega128-ucos/main.o
:)
:)...and linker command-line looks like this:
:)cook: avr-g++ -Wl,--cref -mmcu=atmega128 --verbose -t -fno-rtti
:)-fno-exceptions
:)      -T flasher/script/avrmega128.x -L./ucosii/ATmega128-ucos
:)      -Lbl/ucosii/ATmega128-ucos -Lblbl/ucosii/ATmega128-ucos
:)      -Lblblbl/ucosii/ATmega128-ucos -L./avr/ATmega128-ucos
:)      -Lbl/avr/ATmega128-ucos -Lblbl/avr/ATmega128-ucos
:)      -Lblblbl/avr/ATmega128-ucos -L./ucosii/ATmega128-ucos
:)      -Lbl/ucosii/ATmega128-ucos -Lblbl/ucosii/ATmega128-ucos
:)      -Lblblbl/ucosii/ATmega128-ucos -L./library/ATmega128-ucos
:)      -Lbl/library/ATmega128-ucos -Lblbl/library/ATmega128-ucos
:)      -Lblblbl/library/ATmega128-ucos -L./smartcpp/ATmega128-ucos
:)      -Lbl/smartcpp/ATmega128-ucos -Lblbl/smartcpp/ATmega128-ucos
:)      -Lblblbl/smartcpp/ATmega128-ucos -L/usr/local/avr/lib/avr5
:)      /usr/local/avr/lib/avr5/crtm128.o flasher/src/ATmega128-ucos/main.o
:)      -lavr -lucosii -llibrary -lsmartcpp -lucosii -lavr -lucosii -llibrary
:)      -lsmartcpp -lc -lgcc -nostdlib
:)      -Wl,-Map,bin/flasher/ATmega128-ucos/rom.map
:)      -obin/flasher/ATmega128-ucos/rom.elf
:)
:)Thanks in advance,
:)
:)Scott
:)
:)_______________________________________________
:)avr-gcc-list mailing list
:)address@hidden
:)http://avr.jpk.co.nz/mailman/listinfo/avr-gcc-list
:)



From the languege reference i know the shift operator to use like value<<=
1=20
but not the other way around.

CU,
Torsten.=20
--=20
Torsten Hahn=20
TU Bergakademie Freiberg - Institut f=FCr Experimentelle Physik=20
Silbermannstra=DFe 1, 09596 Freiberg
mail: address@hidden
phone: +49 3731 392670=20



reply via email to

From: Unknown
[Prev in Thread] Current Thread [Next in Thread]