Page 1 of 1

How To Compile for gcc newbie

Posted: Tue Nov 24, 2015 12:53 am
by blipton
I'd like to compile upython but not very famliar with gcc or how to setup the compiling environment. I have a Nios2, so I tried unzipping the port https://github.com/bitmachinejc/micropy ... /nios2.zip and executing './buildlib' from within the nios2 sub-folder. Unfortunately, it doesn't see the py folder/files which are there. Any suggestions how to compile either the nios2 upython library or the port comiling process in general?


Image

Re: How To Compile for gcc newbie

Posted: Tue Nov 24, 2015 1:29 am
by dhylands
The first error message is:

Code: Select all

/usr/bin/sh: python: command not found
which is needed to generate some of the source files.

So you'll need to install python.