RE: [PATCH v3] Added file properties to windows gdb executable for all mingw32 builds.

Bunk, Bernd
2013-08-26T12:30:42Z

> -----Original Message-----
> From: Pedro Alves [mailto:palves@redhat.com]
> Sent: Friday, August 23, 2013 6:01 PM
> To: Bunk, Bernd
> Cc: tromey@redhat.com; palves@redhat.com; eliz@gnu.org; gdb-
> patches@sourceware.org
> Subject: Re: [PATCH v3] Added file properties to windows gdb executable
> for all mingw32 builds.
>
> On 08/23/2013 04:54 PM, Bernd Bunk wrote:
> > On Windows OS it is custom that executables and DLL's show file
> properties.
> > These contain product name/version, file name/version,
> company/copyright info.
> > File properties are visible by right-click on the file, selecting
> properties \ details.
> > This patch adds file properties to the gdb executable for all mingw
> builds.
> >
> > 2013-08-14 Bernd Bunk <bernd.bunk@intel.com>
> >
> > * Makefile.in (windows_exe_properties.h): Add rule to create
> > windows_exe_properties.h header file with file property
> information.
> > (windows_exe_properties.o): Added rule to build the resource
> file.
>
> I didn't find where this was updated to write to a temporary file, and
> then move to the final destination. Did I miss something?
Sorry forgot to answer to this. As mentioned in a PATCH v2 answer, I don't need to copy it. I just removed the $(srcdir) folder infront of the filename in the shell script and added a "-I." to the build rule. So the RC file now includes the header file from the local folder, which is the build folder. But if you don't like this solution I can change it...

>
> > * configure: Add windows_exe_properties.o to mingw32 specific
> > objects.
>
> configure is a generated file. You'll need to edit configure.ac
> instead.
>
> --
> Pedro Alves

Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052