Does anyone know of an easy way to do this. I have python compiled into the file system, but the problem is I need to add a library PyCrypto. The problem is that it is looking for gcc when I try to compile it on the board. And I don't know how to tell the python script to use the arm-gcc in /opt/....
mx31# python setup.py build
running build
running build_py
running build_ext
building 'Crypto.Hash.MD2' extension
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Isrc/ -I/usr/include/python2.4 -c src/MD2.c -o build/temp.linux-armv6l-2.4/src/MD2.o
unable to execute gcc: No such file or directory
error: command 'gcc' failed with exit status 1