On Saturday 20 October 2012 21:45:32 andy pugh did opine:
> Here is a funny one.
> The mesa_7i65.comp file contains:
> include "../../../hal/drivers/mesa-hostmot2/hostmot2.h";
>
> This pattern is needed because the generated C code is compiled
> somewhere other than where the .comp file resides.
>
> This works fine during "make", but if you want to comp --install the
> file instead, then you need
> include "../../hal/drivers/mesa-hostmot2/hostmot2.h";
> ie, crawl back one level fewer.
>
Something is wrong in the os then. The extra ../ just loops back on itself
until it runs out of ../'s. Or should, and I will take an example from a
1987 computer, a TRS-80 Color Computer 3 running nitros9, which is a very
unix like os and my teacher, the real reason I haven't had but one windows
machine over the years & that was only because I couldn't buy a laptop w/o
windows. Long since nuked of course.
Pasted from a minicom screen on this linux box:
{t2|08}/DD/NITROS9/6309L2/SCRIPTS:dir ../../../../../../nitros9
Directory of ../../../../../../nitros9 2012/10/20 21:48
6309L2 6309L3 3.2.9 COLORZAP.DSK HRSDOS.os9
DSKS 3.2.9a dw3install boottrack-gene DW-stf
dd.b09 DW3TREE cmds.os9 OS9Gen Cobbler
dsave.out
The drive is /dd, the system default. I am cd'd to a point 3 levels up from
the devices root directory. Note that I had enough ../'s in there to make
it back up 6 levels, but the 'dir' command worked just fine.
By the same token, it does NOT work that way on this linux box. We should
pester the kernel folks on lkml I believe. The point being that at the
root directory, the .. entry should point at itself since you can't back up
any farther.
> This probably doesn't matter, as nobody really needs to comp --install
> that file, but it does lead to me wondering if there is a more robust
> way of finding hostmot2.h
> (some macro-defined absolute path, perhaps?)
Cheers, Gene
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
The longest part of the journey is said to be the passing of the gate.
-- Marcus Terentius Varro
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers