Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we make it work in Arduino? #14

Open
hunar1997 opened this issue Dec 18, 2022 · 2 comments
Open

Can we make it work in Arduino? #14

hunar1997 opened this issue Dec 18, 2022 · 2 comments

Comments

@hunar1997
Copy link

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

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

@sheenobu
Copy link

sheenobu commented Mar 4, 2023

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

@hunar1997
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants