Testing a build

John Clizbe John at Mozilla-Enigmail.org
Tue Oct 7 08:43:40 CEST 2008

Andrew Berg wrote:
> How would one go about making sure everything works? I built GPG for
> Windows following the instructions at
> http://clbianco.altervista.org/gnupg/eng/gnupg.html (a link at
> gnupg.org/download.html). Unfortunately, I cannot find the libcurl
> package mentioned. It says the package is labeled "libcurl" and not
> "binary", yet it says there are .dll files in it. I seem to be missing
> libintl3.dll (IIRC), which causes dd not to start during configuration,
> but I am still able to build GPG (it runs). I did not bother with
> libiconv. 

Probably http://curl.haxx.se/download/libcurl-7.17.1-win32-nossl-sspi.zip
That's a static build, BTW (no DLLs)

The libcurl 7.19.0 build of Günter Knauf is built with OpenSSL support (that's
the SSL next to the name). Not having it should only affect gpgkeys_curl.exe

curl (and libcurl) isn't really that difficult to build.

libintl is part of gettext. See http://www.gnu.org/software/gettext/
0.17 is the latest release and, as I recall, it builds pretty much right out of
the box on Win32 under MSYS with MinGW

libintl13.dll and libiconv2.dll are in the coreutils dependency package,
coreutils-5.3.0-dep.zip, _also_ in GnuWin32.

The dd in MSYS' coreutils-5.97-MSYS-1.0.11-snapshot.tar.bz2 has no dependencies
on other DLLs.

You can also build GnuPG perfectly well without dd

> I also changed CFLAGS from
> CFLAGS='-O3 -mtune=i386 -march=i386 -mfpmath=387 -mno-mmx -mno-sse
> -mno-3dnow -mno-sse2'
> to
> CFLAGS='-O3 -mtune=prescott -march=prescott -mfpmath=sse -mmmx -msse
> -msse2 -msse3 -mno-3dnow'
> since my processor supports SSE3.
> I have three questions:
> How can I make sure everything is working right?

make check

> (A bit OT) Will the instruction set change cause any noticeable improvement?


> (Also a bit OT) If it's supposed to, how can I make sure it is?

Run some benchmarks on both the generic i386 and your Prescott-optimized
versions and compare the results.

You could also build both in separate directories and run 'time make check' on
an unloaded system and compare results.

John P. Clizbe                      Inet:John (a) Mozilla-Enigmail.org
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net  or
     mailto:pgp-public-keys at gingerbear.net?subject=HELP

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 679 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20081007/5c53e7ef/attachment.pgp>

More information about the Gnupg-users mailing list