* Re: [Ada/win32] win32 registry key?
@ 2001-12-09 16:28 Richard Kenner
0 siblings, 0 replies; 2+ messages in thread
From: Richard Kenner @ 2001-12-09 16:28 UTC (permalink / raw)
To: danny_r_smith_2001; +Cc: gcc
if (res == ERROR_SUCCESS)
res = RegOpenKeyExA (reg_key, "Ada Core Technologies", 0,
KEY_READ, ®_key);
Shouldn't that be
res = RegOpenKeyExA (reg_key, "Free Software Foundation", 0,
KEY_READ, ®_key);
which is where prefix.c looks when gcc is built with
--enable-win32-registry?
Perhaps it should be changed, but that's a different key. The one you
are thinking about is the one that says where to find the parts of
GCC. This is a key that lets additional Ada libraries be installed
and found automatically. It has nothing to do with the other key.
There has been some discussion within ACT about removing this key as
it might have been a bad idea (I can say that freely since it was *my*
idea originally).
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Ada/win32] win32 registry key?
@ 2001-12-09 16:04 Danny Smith
0 siblings, 0 replies; 2+ messages in thread
From: Danny Smith @ 2001-12-09 16:04 UTC (permalink / raw)
To: gcc
In ada/adaint.c, function __gnat_get_libraries_from_registry,
win32-targeted ada pokes around in the registry looking for this key:
/* First open the key. */
res = RegOpenKeyExA (HKEY_LOCAL_MACHINE, "SOFTWARE", 0, KEY_READ,
®_key);
if (res == ERROR_SUCCESS)
res = RegOpenKeyExA (reg_key, "Ada Core Technologies", 0,
KEY_READ, ®_key);
Shouldn't that be
res = RegOpenKeyExA (reg_key, "Free Software Foundation", 0,
KEY_READ, ®_key);
which is where prefix.c looks when gcc is built with
--enable-win32-registry?
Danny
http://shopping.yahoo.com.au - Yahoo! Shopping
- Free CDs for thousands of Priority Shoppers!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-10 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-09 16:28 [Ada/win32] win32 registry key? Richard Kenner
-- strict thread matches above, loose matches on Subject: below --
2001-12-09 16:04 Danny Smith
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 read-only IMAP folder(s) and NNTP newsgroup(s).