On Tue, 2017-11-28 at 20:08 +0100, Florian Klämpfl wrote:
> What command line do you use?

Also note that not specifying debug info (no -g) there is also no problem 
compiling
atmega32u4.pp:
ppcrossavr -Cpavr5 @rtl.cfg -Ur -Tembedded -Pavr -XPavr- -Xr -Ur -Xs -O2 -n 
-Fi../inc -Fi../avr
-FE. -FU../../rtl/units/avr-embedded -davr  -dRELEASE avr/atmega32u4.pp 

For testing purposes two files can be found here: 
https://github.com/ccrause/fpc-avr/tree/master
/src/rtl-avr-modifications/embedded/avr

The atmega328p.pp file compiles with the default settings in the make file, 
while atmega32u4.pp
doesn't compile/assemble properly with -g.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to