On Jan 16 19:37, Corinna Vinschen wrote:
> On Jan 14 15:44, Richard Levitte wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > 
> >    OpenSSL version 1.1.0 pre release 2 (alpha)
> >    ===========================================
> 
> I tried to build this for Cygwin and got some problems.
> [...]
> The attached patchset fixes all of the above.  With this,
> openssl-1.1.0-pre2 builds fine for Cygwin.

I added another patch to this mail which sets the default CPU for 32 bit
Cygwin builds to i686, as outlined in another mail̀‡.  Cygwin won't run on
older CPUs anyway.  The path depends on the 2nd patch from my previous
mail.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
From 3dca00f13e7ba3e798ef3f0cc059881056d1f43d Mon Sep 17 00:00:00 2001
From: Corinna Vinschen <vinsc...@redhat.com>
Date: Sat, 16 Jan 2016 19:39:37 +0100
Subject: [PATCH] On 32 bit Cygwin, build for 686 CPUs only

        Cygwin only supports at least i686 on 32 bit.  Just build for
        this CPU type.

Signed-off-by: Corinna Vinschen <vinsc...@redhat.com>
---
 Configurations/10-main.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index d732a82..02f9878 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -1224,7 +1224,7 @@
     "Cygwin" => {
         inherit_from     => [ asm("x86_asm") ],
         cc               => "gcc",
-        cflags           => "\$(OPT_CFLAGS) -DTERMIOS -DL_ENDIAN -march=i486 
-Wall",
+        cflags           => "\$(OPT_CFLAGS) -DTERMIOS -DL_ENDIAN -march=i686 
-Wall",
         debug_cflags     => "-g -O0",
         release_cflags   => "-O3 -fomit-frame-pointer",
         sys_id           => "CYGWIN",
-- 
2.5.0

Attachment: signature.asc
Description: PGP signature

_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to