This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Windows registry
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: Windows registry
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 13 Jun 2000 19:38:08 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
a
In message <200006021925.PAA20353@disaster.jaj.com>you write:
>
> In response to
>
> <URL:http://gcc.gnu.org/ml/gcc-bugs/2000-05/msg00205.html>
>
> here is a patch to avoid the "checking whether windows registry support"
> stuff altogether on non-Windows targets. Due to the additional indentation
> ,
> the diff is large, but it consists of essentially
>
> case $target_os in
> *cygwin*)
> all the stuff that was there before ;;
> *) ;;
> esac
>
> The choice of cygwin was just a call on my part, perhaps it should be
> something like cygwin | winnt | wince ...?
>
> Tested under Cygwin 1.1 (key takes effect) versus Solaris8 (it doesn't).
>
>
> 2000-06-02 Phil Edwards <pme@sourceware.cygnus.com>
>
> * configure.in: If not on Windows, don't even bother with
> "registry key" stuff.
> * configure: Regenerate.
Is the use of the registry key a function of the host, target or build
machine?
Your patch makes it a function of the target, which may be correct, then again
it may not (I simply don't know enough about windows to know either way).
If Mumit, Chris or someone else better versed in Windows issues could chime
in it would be greatly appreciated.
jeff