This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[Ada/win32] win32 registry key?
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 10 Dec 2001 10:54:02 +1100 (EST)
- Subject: [Ada/win32] win32 registry key?
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!