peflags utility [Was: Re: [1.7] rebaseall doesn't solve the problem]
Charles Wilson
cygwin@cwilson.fastmail.fm
Thu Mar 5 03:39:00 GMT 2009
Corinna Vinschen wrote:
> Well, I had a few tiny problems:
>
> - VERSION wasn't defined for some reason.
Yeah, oops. That was -Ddefined by the makefile rule.
> - Just for kicks, try `peflags --show-image-characteristics=tsaware /bin/bash'
> (note: tsaware is a dll-characteristic, not an image-characteristic...)
My fault when de-binutils-ifying Dave's patch. einfo() never returns,
but I replaced it with fprintf(stderr,...). Fixed.
> - Stuff like `./peflags.exe --show-dll-characteristics=tsaware' prints
> nothing at all. I guess it should print a help message due to a missing
> parameter instead.
Fixed.
> - peflags --help is missing linebreaks (line 1004 is missing a backslash
Typo. '.' is right next to '\'.
Patch attached (and gzipped copy of fully-patched .c file). Still need
to compile using -DVERSION='"2.4.5"' or something:
gcc -o peflags.exe -DVERSION='"2.4.5"' peflags.c
Dave: none of Corinna's comments, nor my changes in addressing them,
point to any issues with your original patch for binutils.
--
Chuck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peflags.c.20090304.patch
Type: application/x-patch
Size: 8179 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090305/84f83fd6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peflags.c.20090304.gz
Type: application/gzip
Size: 7441 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090305/84f83fd6/attachment.gz>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list