How To Compile for gcc newbie

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
blipton
Posts: 8
Joined: Mon Dec 15, 2014 3:11 am

How To Compile for gcc newbie

Post by blipton » Tue Nov 24, 2015 12:53 am

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

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: How To Compile for gcc newbie

Post by dhylands » Tue Nov 24, 2015 1:29 am

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.

Post Reply