please also have a look here:
http://genode.org/documentation/developer-resources/porting
there are explanations about how to proceed with the different porting
strategies.
Regards
Stefan
Stefan Kalkowski
On 03/01/2015 11:12 AM, Sebastian Sumpf wrote:
> Hello again,
>
> On 02/28/2015 09:09 AM, Mohammad Hamad wrote:
>
>> Thank you for replaying, could you please give me an example of doing it
>> with the first option .
>
> I guess ISAKMP is a library that heavily depends on libc, right? If so,
> I would go for option 2 (libc plugin). If it actually requires 'fork'
> (as Christian mentioned), there is only option 3 (noux) available.
>
> For an example of option 1 (even so it does not depend on libc in the
> first place), you can have a look at 'dde_linux' which is a port of some
> Linux drivers to Genode. What one basically has to do, is to provide an
> environment where the ported program can run. That requires the
> following steps:
>
> 1. Make it compile: Provide definitions of any
> function/structure/macro/enum the program uses from libc.
>
> 2. Make it link: Provide a dummy function for each one that leads to a
> 'undefined reference' message from the linker.
>
> 3. Make it work: Implement all dummy functions that are actually used by
> the program in order to fulfill its core functionality. For example, one
> can omit book keeping or any other fancy stuff. This requires a little
> experience, though.
>
> I would call the above, the minimal Genode porting guide :-)
>
> Cheers,
>
> Sebastian
>
>
>
--
Genode Labs
http://www.genode-labs.com/ · http://genode.org/
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
genode-main mailing list
genode-main@...12...ceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main