* [9fans] Removal of .i files from sources?
@ 2007-12-03 22:25 Christian Kellermann
2007-12-04 9:22 ` Robert Raschke
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Christian Kellermann @ 2007-12-03 22:25 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 666 bytes --]
Dear List,
I currently encountered the following problem:
I need to build a cpu kernel from sources. Therefore I have been
following the tip of the day recipie from the wiki. Assembling the
sd*.n files fails due to the corresponding .i files already exist.
In my current setup I cannot delete those nor touch them or change
permissions.
How can I get around this? Why are those precompiled files there
in the first place? I would not expect seeing 8c object files on
sources either... Would a removal be sensible?
Kind regards,
Christian
--
You may use my gpg key for replies:
pub 1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)
[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [9fans] Removal of .i files from sources?
2007-12-03 22:25 [9fans] Removal of .i files from sources? Christian Kellermann
@ 2007-12-04 9:22 ` Robert Raschke
[not found] ` <adc391e1dfd3d40c6439b19c65d02dff@tombob.com>
2007-12-04 17:45 ` Dave Eckhardt
2 siblings, 0 replies; 6+ messages in thread
From: Robert Raschke @ 2007-12-04 9:22 UTC (permalink / raw)
To: Christian.Kellermann, 9fans
Christian Kellermann wrote:
> I need to build a cpu kernel from sources. Therefore I have been
> following the tip of the day recipie from the wiki. Assembling the
> sd*.n files fails due to the corresponding .i files already exist.
> In my current setup I cannot delete those nor touch them or change
> permissions.
>
> How can I get around this? Why are those precompiled files there
> in the first place? I would not expect seeing 8c object files on
> sources either... Would a removal be sensible?
I haven't looked at the Tip of the Day description recently, but I
have a few folders on my local tree, where I bind the central sources
into in such a way that I can have my own local files overshadowing
the central ones
bind -c $home/src/kernel/pc $home/src/kernel/pc
bind -a /sys/src/9/pc $home/src/kernel/pc
You should then be able to copy one of the central .i files into you bound location. making it read/writable for you and it overshadowing the central one.
Robby
^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <adc391e1dfd3d40c6439b19c65d02dff@tombob.com>]
* Re: [9fans] Removal of .i files from sources?
2007-12-03 22:25 [9fans] Removal of .i files from sources? Christian Kellermann
2007-12-04 9:22 ` Robert Raschke
[not found] ` <adc391e1dfd3d40c6439b19c65d02dff@tombob.com>
@ 2007-12-04 17:45 ` Dave Eckhardt
2007-12-05 8:08 ` Christian Kellermann
2 siblings, 1 reply; 6+ messages in thread
From: Dave Eckhardt @ 2007-12-04 17:45 UTC (permalink / raw)
To: 9fans
> I need to build a cpu kernel from sources. Therefore I have been
> following the tip of the day recipie from the wiki. Assembling the
> sd*.n files fails due to the corresponding .i files already exist.
> In my current setup I cannot delete those nor touch them or change
> permissions.
It sounds like it's time for my occasional commercial for divergefs,
a file system which lets you layer arbitrary changes on top of a
read-only file system (it even handles deletions).
If you say
% divergefs -p /some/dir /sys/src
you can build whatever you want. And you can resume your work the
next day with the same command.
Dave Eckhardt
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-12-05 13:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-03 22:25 [9fans] Removal of .i files from sources? Christian Kellermann
2007-12-04 9:22 ` Robert Raschke
[not found] ` <adc391e1dfd3d40c6439b19c65d02dff@tombob.com>
2007-12-04 9:43 ` Christian Kellermann
2007-12-04 17:45 ` Dave Eckhardt
2007-12-05 8:08 ` Christian Kellermann
2007-12-05 13:56 ` David Leimbach
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).