On Saturday 19 August 2006 13:53, Tristan Gingold wrote:
> On Sat, Aug 19, 2006 at 06:05:15AM -0400, Stephen Leake wrote:
> 
> > In my applications, I compute things like Install_Dir from the path to
> > the executable, which is available from the command line information.
> This is another possibility.  On Unix system this is not reliable.

Why not reliable? Our tools do it that way for the last 15 years or so, never
had a problem.

The fact that a registry key is used to lookup a directory is (at the moment)
a hidden factor which we do not like. My next plan is to try (as you suggested)
the -P option, and eliminate all registry stuff as follows:

* install ghdl 0.25 in C:\ghdl
* create a zip
* uninstall ghdl
* unpack the zip in C:\ghdl-0.25
* run the tool with -P C:\ghdl-0.25
* repeat for other ghdl versions

This will fail if something, somehow still uses C:\ghdl to search anything, 
which
is exactly what I want to see.
-- 
**************************************
Kees Bakker
Senior Software Designer
Altium - Think it, Design it, Build it
Phone  : +31 33 455 8584
E-Mail : [EMAIL PROTECTED]
URL    : http://www.altium.com/
**************************************
Nothing is foolproof! Fools are too ingenious!

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to