Some gcc avr questions?
Wed Dec 19 13:13:00 GMT 2001

Hello everybody!
I am new to the avr-gcc list and now I have some questions.

I am working on a Linux host and I have maintained a cross compiler script for
the gcc win32 port in the past. Now I started to work with the avr
microcontrollers. I will prepare a script to build the gcc avr tool chain very
easy. This will include the building of the libc.

I used the official versions of binutils (2.11.2) and gcc (3.0.2).
I have started with the binutils followed by gcc (C only).
There were no problems until now except for some warnings in binutils and gcc.

First question:
Shall I fix this warnings or are they already fixed in CVS (havent' looked
there) or is someone else working on this subject?

Then I tried to configure gcc for C++, but I got problems during the target
libiberty configuration. I know that this configuration needs libc and I
haven't build it until now. I don't thing it makes sense to build libiberty for
the target. So I will remove it from the configuration for avr.

But before I start with this, I have the next questions:
How far is the C++ part for avr?
I am not so familar with the compiler internals, but I think if the backend 
for C is ready it is possible to use also C++. Maybe the startup code must be
changed to call all con/destructors of global objects. But I don't know it in
detail. Maybe it is already done in libgcc.

Is there a gnu simulator available for the avr or is someone working on it?

I know about avr-gdb-4.18. Shall I try to port gdb-5.0 for avr or is someone
working on it?


 Ing. Reinhard Jessich              mailto:
 A-1190 Vienna, Goergengasse 2/2/1  phone: +43/1/3692600 mobile: +43/664/1735439

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list