9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] mkmk
@ 2011-12-05 13:26 Steve Simon
  2011-12-05 13:34 ` Jens Staal
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Simon @ 2011-12-05 13:26 UTC (permalink / raw)
  To: 9fans

mkmk is in the contrib package contrib/mkmk

http://man.cat-v.org/plan_9_contrib/1/mkmk

I would say mkmk was an interesting experiment rather than a resounding success.

The idea was to simplify re-porting foreign code to plan9 by autogenerating the
mkfile from just the C source and some heuristics. Also important to me is that
the generated mkfiles should be simple and cleanly formatted.

I use an rc(1) script (called 9port) per package which would tidy it and run mkmk
with the apropriate args - it somtimes needs a bit of help. The script may then
be reused to quickly re-port the latest version of the code to plan9.

Examples here:
http://plan9.bell-labs.com/sources/contrib/steve/root/sys/src/cmd/mkmk/9port/

The lack of success came when trying to port bigger projects like the
Apache portable runtime, or up to date ghostscript.

-Steve



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] mkmk
  2011-12-05 13:26 [9fans] mkmk Steve Simon
@ 2011-12-05 13:34 ` Jens Staal
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Staal @ 2011-12-05 13:34 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

2011-12-05 14:26, Steve Simon skrev:
> mkmk is in the contrib package contrib/mkmk
>
> http://man.cat-v.org/plan_9_contrib/1/mkmk
>
> I would say mkmk was an interesting experiment rather than a resounding success.
>
> The idea was to simplify re-porting foreign code to plan9 by autogenerating the
> mkfile from just the C source and some heuristics. Also important to me is that
> the generated mkfiles should be simple and cleanly formatted.
>
> I use an rc(1) script (called 9port) per package which would tidy it and run mkmk
> with the apropriate args - it somtimes needs a bit of help. The script may then
> be reused to quickly re-port the latest version of the code to plan9.
>
> Examples here:
> http://plan9.bell-labs.com/sources/contrib/steve/root/sys/src/cmd/mkmk/9port/
>
> The lack of success came when trying to port bigger projects like the
> Apache portable runtime, or up to date ghostscript.
>
> -Steve
>

Personally I have found mkmk very impressive and I have been using it
for some attempted ports that I am working with in my spare time.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-05 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-05 13:26 [9fans] mkmk Steve Simon
2011-12-05 13:34 ` Jens Staal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).