On Jan 16 20:01, Corinna Vinschen wrote: > On Jan 16 19:59, Kurt Roeckx wrote: > > On Sat, Jan 16, 2016 at 07:42:50PM +0100, Corinna Vinschen wrote: > > > 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. > > > > Is gcc configure to only produce i686 code on cygwin, and so can > > we maybe drop the -march instead? > > Oh yes, indeed. Sorry I missed that :}
Here's the changed patch. Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
From 544d74273588d8d3e887a2b0b32d2e5afb76d7d9 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 the default 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..14ed3a7 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 -Wall", debug_cflags => "-g -O0", release_cflags => "-O3 -fomit-frame-pointer", sys_id => "CYGWIN", -- 2.5.0
signature.asc
Description: PGP signature
_______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev