Re: src/tools/msvc usage instructions

From: Jeremy Drake <pgsql(at)jdrake(dot)com>
To: Magnus Hagander <mha(at)sollentuna(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Joachim Wieland <joe(at)mcknight(dot)de>
Subject: Re: src/tools/msvc usage instructions
Date: 2006-10-03 07:27:47
Message-ID: Pine.BSO.4.64.0610030024040.7684@resin.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 3 Oct 2006, Magnus Hagander wrote:

> Funky.
> Can you try having it run the dumpbin command into a tempfile, and then
> open-and-read that tempfile, to see if that makes a difference?
> (Assuming you know enough perl to do that, of course)

Doing it as
system("dumpbin /symbols $_ > $tmpfn")
still output to the console.

But, I got it to work with the attached patch to the script. Note the use
of the handy /out:FILE parameter to dumpbin for redirecting the output ;)

Also, I changed the file glob to *.obj from * since I got an error trying
to run dumpbin on BuildLog.htm which is obviously not an object file.
Hopefully this is correct?

--
Q: Why do mountain climbers rope themselves together?
A: To prevent the sensible ones from going home.

Attachment Content-Type Size
gendef-worksforme.patch text/plain 1.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zeugswetter Andreas DCP SD 2006-10-03 08:20:11 Re: [HACKERS] Bad bug in fopen() wrapper code
Previous Message Magnus Hagander 2006-10-03 07:05:35 Re: src/tools/msvc usage instructions