Re: [Flashforth-devel] building flashforth with avra?
Brought to you by:
oh2aun
From: Christopher H. <chr...@li...> - 2021-04-30 14:34:34
|
Additional note: I also had to include the <avr/io.h> header. -- Christopher Howard blog: https://librehacker.com social: https://gnusocial.club/librehacker On Fri, 2021-04-30 at 05:30 -0800, Christopher Howard wrote: > I should mention I have been trying to use the avr-gcc (GCC) 7.5.0 > toolchain, rather than the modified avr-gcc sources from the released > XC8_v2.30_AVR_Sources, which I think were using version 5 or > something older. > > -- > Christopher Howard > blog: https://librehacker.com > social: https://gnusocial.club/librehacker > > On Fri, 2021-04-30 at 05:24 -0800, Christopher Howard wrote: > > Hi, I've put a few hours into trying to figure out how to build > > with just avr-gcc toolchain, without the proprietary XC8 assembler. > > To my surprise (given my lack of knowledge) I seemed to have gotten > > pretty far with this call > > avr-gcc -mmcu=atmega328p -I. -D__ATmega328P__ -x assembler-with-cpp > > ff-libre.asm > > Which mostly does not give errors, so long as I drop the "#include > > <xc.h>" directive from all the files. However, I'm stuck on this > > code: > > ;****************************************************************** > > *KERNEL_END:;****************************************************** > > *****.section .nrww, code, > > address(NRWW_START);*********************************************** > > ************** > > which gives error > > ff-libre.asm: Assembler messages:ff-libre.asm:6334: Error: > > character following name is not '#' > > Not sure if there is some actual .section syntax incompatibility, > > or if I need another gcc flag, or if am trying to build the wrong > > output format (ELF, etc.)... > > -- > > Christopher Howard > > blog: https://librehacker.com > > social: https://gnusocial.club/librehacker > > On Fri, 2021-04-16 at 10:07 -0800, Christopher Howard wrote: > > > Thank you. I am hoping to play around with this in the next week > > > or so during some lunch break. > > > > > > Christopher > > > > > > -----Original Message----- > > > From: Mikael Nordman <mik...@fl...> > > > To: Christopher Howard <chr...@li...> > > > Subject: Re: [Flashforth-devel] building flashforth with avra? > > > Date: Fri, 16 Apr 2021 09:13:57 +0300 > > > > > > > > > Hi Chris, > > > > > > Here is the verbose output of building with XC8. > > > > > > BR Mikael > > > > > > > > > > _______________________________________________Flashforth-devel > > mailing lis...@li... > > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > > _______________________________________________Flashforth-devel > mailing lis...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > |