# [HACKERS] Suggestion for MSVC build

```It seems like there isn't any good reason the perl scripts for the MSVC
```

Readline for windows is available as part of the GnuWin32 project.

It normally installs to "c:\Program Files\GnuWin32"

I'd update the scripts myself, but I'm not a PERL programmer.

>From what I can see, you'd add another line to config.pl for readline,
and then add some stuff to  mkvcbuild.pm for psql  to do something like:

{

'\lib\history.lib');

}

And something to solution.pm in the part that builds pg_config.h that
looks something like:

{

print O "#define

print O "#define

print O "#define

print O "#define

print O "#define

}

(Not sure about the last line).

I don't know if this is a good idea, but I would think this would make
psql more "user-friendly" on windows.

Perhaps someone who understands readline and perl better than me might
want to take this on?

```