minilisp
minilisp copied to clipboard
Can we make it work in Arduino?
I like to run it in arduino (avr-gcc, 8bit microcontroller)..
the first error is (sys/mman.h) can minilisp live without mman?
the no-gc version doesnt require mmap/munmap. I do not know if it will compile on avr-gcc.
Ok, it compiles but linking doesn't work, I don't know much about avr-gcc but looks like the data section gets full.. maybe somebody in the future will take a look at :)
/usr/bin/avr-ld: a.out section `.text' will not fit in region `text'
/usr/bin/avr-ld: region `text' overflowed by 2458 bytes
/usr/bin/avr-ld: /usr/lib/gcc/avr/12.2.0/../../../../avr/lib/libc.a(malloc.o):(.data+0x0): undefined reference to `__heap_end'
collect2: error: ld returned 1 exit status
Oooo....it's years since I worked on that. I won't be able to help you on that. I don't have the setup anymore. I think it's best to use the source as a guide but ask some Linux expert to help.Kind regardsMichael.(Sent from my phone)
-------- Original message --------From: hunar @.> Date: 6/03/23 09:24 (GMT+12:00) To: rui314/minilisp @.> Cc: Subscribed @.***> Subject: Re: [rui314/minilisp] Can we make it work in Arduino? (Issue #14)
Ok, it compiles but linking doesn't work, I don't know much about avr-gcc but looks like the data section gets full.. maybe somebody in the future will take a look at :)
/usr/bin/avr-ld: a.out section .text' will not fit in region
text'
/usr/bin/avr-ld: region text' overflowed by 2458 bytes /usr/bin/avr-ld: /usr/lib/gcc/avr/12.2.0/../../../../avr/lib/libc.a(malloc.o):(.data+0x0): undefined reference to
__heap_end'
collect2: error: ld returned 1 exit status
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>