From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Steve Simon" Date: Tue, 11 Jun 2013 15:06:03 +0100 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] plumb rule for include files in different directories Topicbox-Message-UUID: 64ae31da-ead8-11e9-9d60-3106f5b1d025 I do somthing similar, though my solution is rather crufty. I connect linux box using ssh from plan9, I also have a sftpfs session from plan9 mounted at /n/linux I have my own script called make on a which runs /bin/make and pipes the output through sed. sed rewrites the absolute paths (I have to use cmake which always uses absolute paths) into plan9 relative paths so they can be plumbed. e.g. /home/steve/work/xxx/yyy/fred.cpp gets rewritten as /n/linux/home/steve/work/xxx/yyy/fred.cpp I also use conswdir(1) and a cd function in rc (on linux) to ensure my plan9 /dev/wdir is kept in sync with linux. This allows me to plumb files in the current dir or dirs relative to it. I warned you it was crufty. -Steve