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

Reply via email to