keith-packard / snek

Snek programming language for tiny systems
GNU General Public License v3.0
293 stars 30 forks source link

Failing to build for linux with make SNEK_OTHEROS=0 #33

Closed larsks closed 4 years ago

larsks commented 4 years ago

According to the README, the follow should build just the linux binary:

make SNEK_OTHEROS=0 SNEK_OTHEROS_DIR=hosts/linux

But when I run that, the build fails in the crickit port:

cd `dirname ports/crickit/snek-crickit-1.3.uf2` && make PREFIX=/usr/local DESTDIR=
make[1]: Entering directory '/home/lars/src/snek/ports/crickit'
lola  -o snek-gram.h ../../snek-gram.ll
python3 ../../snek-builtin.py ../../snek-keyword.builtin ../../snek-base.builtin ../../snek-gpio.builtin ../../snek-eeprom.builtin ../../chips/samd21/snek-altos.builtin ../../snek-math.builtin ../../snek-input.builtin snek-crickit.builtin -o snek-builtin.h
python3 ../../ao/make-product.py -i 0x002c -V 0xfffe -v 1.3 -p SnekCrickit > ao-product.h
  CC  snek-builtin.o
arm-none-eabi-gcc: fatal error: cannot read spec file 'picolibc.specs': No such file or directory

Are those instructions still correct?

larsks commented 4 years ago

I see that to do what I want I should just run make in ports/posix. Sorry for the noise!