[chbot] Issue with avr-gcc and ATtiny3227
Synco Reynders
synco.reynders at gmail.com
Thu Jan 2 21:13:53 GMT 2025
Happy New Year Mark,
did you solve it?
My bet is on the number of ../ or possibly the handling of ./ in the middle
of the path. It could be related to the c: at the start? Have you tried it
on a /home system? :-) I've just pulled out a Tiny85 project again, and
have been enjoying using: https://github.com/micronucleus/micronucleus
/s
On Wed, 1 Jan 2025 at 14:42, Mark Atherton <markaren1 at xtra.co.nz> wrote:
> Hi All,
>
> I have been using avr-gcc 7.30 by way of a makefile for use with the
> ATmega328P target without any problems for ages,
>
> A couple of months ago the ATtiny404 was added, by downloading and
> installing the 4 required files from the Microchip site device-packs
> (packs.download.microchip.com). Again, without any issues.
>
> A couple of days ago the ATtiny3227 was added using the same process as
> above. All required C files compile OK, but the linker claims that it
> can’t find crtattiny3227.o, which is odd since it is in the same
> directory as crtattiny404.o (which works).
>
> Full error message is
> c:/programfiles/avr8/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe:
> cannot find crtattiny3227.o: No such file or directory
>
> <yes, there is a directory called programfiles>
>
> Finally I repeated the above for the ATtiny827 and avr-gcc has no idea
> what an attiny827 is !
>
> This is the most bewildering collection of faults I have seen for ages.
> I guess that the attiny device-pack which was downloaded could be
> corrupt (I have tried twice).
>
> Just found that the free XC8 compiler supports the 3227, just hope it
> can be run from the command line.
>
> Thoughts please.
>
> HNY, Mark
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Meetings usually 3rd Monday each month. See http://kiwibots.org for
> venue, directions and dates.
> When replying, please edit your Subject line to reflect new subjects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/chchrobotics/attachments/20250103/d3506b20/attachment.html>
More information about the Chchrobotics
mailing list