Noux

Josef Söntgen josef.soentgen at ...1...
Thu Oct 22 11:18:07 CEST 2015


Hello Kas,

* kas <kassatewodrose at ...9...> [2015-10-22 02:48:53 +0200]:
> I have another question regarding Noux. I wanted to port and run a simple
> helloworld program on Genode's Noux runtime. I follow the steps for porting
> an app to Noux, but for me it is not clear how to create the port makefile
> for such program. and I can't jump to the next steps.

Running a program in Noux is merely a matter of adding 'libc_noux' to
its library dependencies. The porting guide assumes you want to port
an existing program using an autotools based build system and therefore
uses 'repos/ports/mk/noux.mk' which wraps the whole autotools handling
in an convenient way.

A 'target.mk' for your helloworld program could look like this:

TARGET = helloworld
LIBS   = libc libc_noux
SRC_C  = main.c


Regards
Josef




More information about the users mailing list