[fpc-pascal] Building for Arduino

Christo Crause christo.crause at gmail.com
Mon Jul 8 07:45:22 CEST 2024


On Sun, 7 Jul 2024, 22:35 Adriaan van Os via fpc-pascal, <
fpc-pascal at lists.freepascal.org> wrote:

> Christo Crause via fpc-pascal wrote:
>
> > The assembly line you showed above is obviously missing a closing
> > parenthesis, so the error from avr-as is correct.  I tested building
> > ppcrosssavr 3.2.2 with all your cross options and added -a to retain the
> > generated assembler source. This worked fine and line 28783 from
> > system.s has balanced parentheses: ldi r20,lo8(gs(FPC_FINALIZE))
>
> My mistake while copying the line, sorry.
>
> >
> > Somehow that line got truncated when you were building the cross
> > compiler, but I have no idea what could have caused that.
> >
> > PS. My avr binutils version is 2.26 - old, but your version is about 10
> > years older still.
>
> I use 2.17 because of this still unresolved bug
> <https://sourceware.org/bugzilla/show_bug.cgi?id=11337> but that is
> probably relevant for windows
> only. I will try 2.26 and report the result.
>

I would not worry about windres for AVR.

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20240708/5c8e2284/attachment-0001.htm>


More information about the fpc-pascal mailing list