minilisp icon indicating copy to clipboard operation
minilisp copied to clipboard

Can we make it work in Arduino?

Open hunar1997 opened this issue 2 years ago • 3 comments

I like to run it in arduino (avr-gcc, 8bit microcontroller)..

the first error is (sys/mman.h) can minilisp live without mman?

hunar1997 avatar Dec 18 '22 12:12 hunar1997

the no-gc version doesnt require mmap/munmap. I do not know if it will compile on avr-gcc.

sheenobu avatar Mar 04 '23 04:03 sheenobu

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

hunar1997 avatar Mar 05 '23 20:03 hunar1997

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: @.***>

michael-heyns avatar Mar 06 '23 01:03 michael-heyns