gm2
[Top][All Lists]
Advanced

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

Re: [Gm2] avr-gcc and verbose flag


From: Gaius Mulley
Subject: Re: [Gm2] avr-gcc and verbose flag
Date: Mon, 18 May 2015 09:51:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Will Rose <address@hidden> writes:

> The following command, which builds the standard blinky program
> flashled328,
> produces a valid ELF file.
>
> /opt/avr/bin/avr-gm2 -mmcu=atmega328 -g -Os -fno-exceptions -fno-pth -
> flibs=min flashled328.mod -o flashled328.elf
>
> Using /opt/avr/bin/avr-gm2 -v etc doesn't - it ends with:
>
> /opt/avr/libexec/gcc/avr/4.7.4/collect2 -m avr5 -Tdata 0x800100 -o
> flashled328.elf
> /opt/avr/lib/gcc/avr/4.7.4/../../../../avr/lib/avr5/crtm328.o -
> L/opt/avr/lib/gcc/avr/4.7.4/m2/min -L/opt/avr/lib/gcc/avr/4.7.4/m2/min
> -L/opt/avr/lib/gcc/avr/4.7.4/avr5 -
> L/opt/avr/lib/gcc/avr/4.7.4/../../../../avr/lib/avr5 -L/opt/avr/bin -
> L/opt/avr/lib/gcc/avr/4.7.4 -
> L/opt/avr/lib/gcc/avr/4.7.4/../../../../avr/lib /tmp/ccU4uIP0.a -lmin -
> lm -lgcc -lc -lgcc
> /tmp/ccU4uIP0.a(ccGXp7bfstart.o): In function `init':
> /home/projects/avr/modula/flashled328_m2.cpp:19: undefined reference
> to `_M2_flashled328_init'
> /tmp/ccU4uIP0.a(ccGXp7bfstart.o): In function `finish':
> /home/projects/avr/modula/flashled328_m2.cpp:25: undefined reference
> to `_M2_flashled328_finish'
> collect2: error: ld returned 1 exit status
>
> Is this a bug or a feature?
>
> Will

Hi Will,

thank for the report - it is a bug.  I fixed a related bug to this on
the 13th April.  Out of interest what is the version number of gm2?

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]