[EROS-Arch] Re: links deprecated

Charles Landau clandau@macslab.com
Sun, 26 Nov 2000 12:09:12 -0800


shapj@us.ibm.com wrote:

> The machine symlink should be constructed in the build/XXX directory
> rather than in the top directory to allow multiple parallel builds. Placing
> it in the top directory predated the current placement of different builds
> in different directories.  I'm open to a better suggestion here.

How about this:

(Note that there is already a -Ibase/sys/arch/i486/include in the build, as
well as -Ibase/sys.)
Remove the symlinks base/sys/eros/machine and base/sys/machine.
Add symlinks base/sys/arch/i486/include/machine -> base/sys/arch/i486/machine
and base/sys/arch/i486/include/erosMachine -> base/sys/eros/i486.
Change the ten files that have #include <eros/machine/...> to #include
<erosMachine/...>.

Questions:

base/sys has arch/i486, but base/sys/eros has merely i486. Why the
inconsistency?

Perhaps we should *move* base/sys/arch/i486/machine/* to
base/sys/arch/i486/include/machine/* instead of just linking them.

If we move these files, the next question is, why are some files directly in
base/sys/arch/i486/include and others in base/sys/arch/i486/include/machine?

Is base/lib/unix/include/machine used? Does it have the same issues as
base/sys/eros/machine?

What about the following symlinks in the installed tree:
eros/include/eros/machine
eros/include/unix/machine
eros/cross/include/eros/machine ?