change homedir

Timo Schulz twoaday at
Thu Jan 2 12:29:01 CET 2003

On Sat Dec 28 2002; 11:40, vyp08 at wrote:

>   Excuse me for stupid question - how i can change default homedir
> "c:\gnupg" (for windoze platform) in the sources GnuPG 1.2.1?
>   I'm dont't like use Windows's reg :)
>   Please, write me to e-mail.

In the g10defs.h you find this:

  #define G10_LOCALEDIR     "c:\\lib\\gnupg\\locale"
  #define GNUPG_LIBDIR      "c:\\lib\\gnupg"
  #define GNUPG_LIBEXECDIR  "c:\\lib\\gnupg"
  #define GNUPG_DATADIR     "c:\\lib\\gnupg"
  #define GNUPG_HOMEDIR     "c:\\gnupg"

Just modify the entries and compile GPG again.


More information about the Gnupg-devel mailing list