9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* porting tips (was Re: [9fans] speaking of kenc)
@ 2007-05-02 12:24 Federico Benavento
  0 siblings, 0 replies; only message in thread
From: Federico Benavento @ 2007-05-02 12:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

hola,

> How we can sidestep autohell?

I use something like dhog's p9config (/n/sources/contrib/fgb/rc/config)
to have a config.h I also have a modified config.sub, just a "| -plan9" or
something like that.
then I run /n/sources/contrib/fgb/rc/o to create the mkfile
and then I add:

APE=/sys/src/ape
</$ape/config
...
</sys/src/cmd/mk*
CFLAGS=-c -D_POSIX_SOURCE -D_BSD_EXTENSION

the mkfiles end up looking like the ones in /sys/src/ape/

-- 
Federico G. Benavento


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-02 12:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-02 12:24 porting tips (was Re: [9fans] speaking of kenc) Federico Benavento

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).