Description
I'm using Lion (Target is OSX first, then the uPython boads then Discovery Boards - I have done it all on Debian before.) and am missing something in setting up to compile micropython. Apple says Xcode for Lion includes the tools. Others say install with xcode-select --install which just says --install is not a valid option. If anyone has tried on Lion, suggestions appreciated or link to a how-to that works for Lion. Here is the output:
$make
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
make: pkg-config: Command not found
make: pkg-config: Command not found
CC ../py/nlrx64.S
../py/nlrx64.S:118:Unknown pseudo-op: .bss
make: *** [build/py/nlrx64.o] Error 1
:unix RYAN$ make V=1
make: pkg-config: Command not found
make: pkg-config: Command not found
../py/py-version.sh > build/genhdr/py-version.h.tmp
if [ -f "build/genhdr/py-version.h" ] && cmp -s build/genhdr/py-version.h build/genhdr/py-version.h.tmp; then rm build/genhdr/py-version.h.tmp; else echo "Generating build/genhdr/py-version.h"; mv build/genhdr/py-version.h.tmp build/genhdr/py-version.h; fi
CC ../py/nlrx64.S
gcc -I. -I../py -Ibuild -Wall -Werror -ansi -std=gnu99 -DUNIX -DMICROPY_USE_READLINE=1 -DMICROPY_PY_TIME=1 -DMICROPY_PY_TERMIOS=1 -DMICROPY_PY_FFI=1 -Os -c -o build/py/nlrx64.o ../py/nlrx64.S
../py/nlrx64.S:118:Unknown pseudo-op: .bss
make: *** [build/py/nlrx64.o] Error 1
$ gcc
i686-apple-darwin11-llvm-gcc-4.2: no input files
$