Re: compilation information ?

2012-03-15 Thread John Clizbe
Robert J. Hansen wrote:
 On 3/14/2012 12:44 AM, brian m. carlson wrote:
 From looking at the source, I don't believe so.  Note that the only case
 in which you have more than one option is Windows/DOS.
 
 GnuPG compiles just fine under the Intel C/C++ compilers, under the GNU
 Compiler Collection, under Sun Studio, under AIX's own compiler and
 under Clang.  Probably more, too, but these are the only ones I've
 checked.  (What's the standard compiler for OpenVMS?)

VMS? DEC C aka Compaq C aka HP C
$ cc/version
HP C V7.3-009 on OpenVMS Alpha V8.3
$

Steven Schweda did a LOT of work porting 1.4.x to VMS.

 There are a *ton* of options for how to compile GnuPG on non-Windows
 platforms.  Windows is one of the more limited platforms, since you're
 more or less limited to MinGW-GCC or Cygwin-GCC.  The last time I used
 MS Visual C++ to try to compile GnuPG, the results were pretty awful...

The main difference is Cygwin will give you a more POSIXy feel along with the
default location for $GNUPGHOME.  The OS version string is set by configure as a
#DEFINE in config.h.

I worote a patch a while back that calls GetVersionEx and then determines the
version of Windows that gpg is running on and prints that. Never did anything
with it because I didn't think there'd be much interest in adding it to the code
base.

Back in the Dark Ages of 1.2.x, there were project files for MSVC as an
individual project.  There /may/ be some work done somewhere on the 1.4 branch,
but I think it'd probably be more work than value added.

-- 
John P. Clizbe  Inet: John ( a ) Enigmail DAWT net
FSF Assoc #995 / FSFE Fellow #1797  hkp://keyserver.gingerbear.net  or
 mailto:pgp-public-k...@gingerbear.net?subject=HELP

   Cowboy Haiku -- Reflections on Rodeo
So many Cowboys. / Round Wrangler butts drive me nuts. / Never enough rope.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: compilation information ?

2012-03-14 Thread Werner Koch
On Wed, 14 Mar 2012 05:44, sand...@crustytoothpaste.net said:

 platforms, the binary is always compiled in the ordinary way.  I expect
 exposing this information was not considered to be terribly important
 since most platforms don't have this issue.

Actually we can't do that.  A specific build of GnuPG may differ in many
aspects and thus it would be hard to define a short info string for it.
The information you needs is at the very least the content of config.h
and config.status, as they give information about the speicific
environment.  However, you may not be able to see the version of the
compiler or the linked to/in libraries.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: compilation information ?

2012-03-13 Thread brian m. carlson
On Mon, Mar 12, 2012 at 01:24:06PM -0400, ved...@nym.hush.com wrote:
 Is there any command that tells how the gnupg version was compiled?
 
 gpg --version  
 doesn't list it.
 
 A simple way to find out is to do 
 gpg --armor filename 
 [or any other command resulting in gpg .asc file],
 and the information will be listed in the version line,
 i.e.
 Version: GnuPG v1.4.12 (Cygwin)
 
 Is there any way to find out without performing a gpg function on a 
 file?

From looking at the source, I don't believe so.  Note that the only case
in which you have more than one option is Windows/DOS.  For other
platforms, the binary is always compiled in the ordinary way.  I expect
exposing this information was not considered to be terribly important
since most platforms don't have this issue.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187


signature.asc
Description: Digital signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: compilation information ?

2012-03-13 Thread Robert J. Hansen
On 3/14/2012 12:44 AM, brian m. carlson wrote:
 From looking at the source, I don't believe so.  Note that the only case
 in which you have more than one option is Windows/DOS.

GnuPG compiles just fine under the Intel C/C++ compilers, under the GNU
Compiler Collection, under Sun Studio, under AIX's own compiler and
under Clang.  Probably more, too, but these are the only ones I've
checked.  (What's the standard compiler for OpenVMS?)

There are a *ton* of options for how to compile GnuPG on non-Windows
platforms.  Windows is one of the more limited platforms, since you're
more or less limited to MinGW-GCC or Cygwin-GCC.  The last time I used
MS Visual C++ to try to compile GnuPG, the results were pretty awful...


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


compilation information ?

2012-03-12 Thread vedaal
Is there any command that tells how the gnupg version was compiled?

gpg --version  
doesn't list it.

A simple way to find out is to do 
gpg --armor filename 
[or any other command resulting in gpg .asc file],
and the information will be listed in the version line,
i.e.
Version: GnuPG v1.4.12 (Cygwin)

Is there any way to find out without performing a gpg function on a 

file?

TIA,

vedaal


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users