Difference between revisions of "Compile Software for the Humax"

From hummy.tv Wiki
Jump to: navigation, search
(Compiling on-box)
(Compiling on-box)
Line 9: Line 9:
 
humax# opkg install gcc gawk
 
humax# opkg install gcc gawk
 
</pre>
 
</pre>
 +
 +
After this, close your telnet session and create a new one to properly set up the environment, and you are ready to compile your first piece of software on the Humax.
  
 
== Cross compiling on an external host ==
 
== Cross compiling on an external host ==

Revision as of 11:00, 18 August 2011

Compiling on-box

It is possible to compile some software directly on the Humax itself, however due to the limited amount of CPU horsepower available, this is only recommended for fairly small packages.

First you need to install the gcc and gawk packages. gcc is the compiler itself and automatically pulls in dependant packages, gawk is needed to properly support packages which use GNU autoconf, which most do.

humax# opkg install gcc gawk

After this, close your telnet session and create a new one to properly set up the environment, and you are ready to compile your first piece of software on the Humax.

Cross compiling on an external host