I guess it would have major side effects so I'm just asking:

I'd like to add support to do cross compiling of both 32 bits and 64
bits version on Windows. Maybe this patch would help. But I think it
would break too much things. So I guessed at worst it will stay in the
openssl archives for reference. :)

######CUT HERE#########
--- util/pl/VC-32.pl    jeu. nov. 15 13:04:11 2007
+++ util/pl/VC-32.pl    jeu. nov. 15 13:06:57 2007
@@ -36,6 +36,8 @@
     $opt_cflags=$f.' /Ox';
     $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG';
     $lflags="/nologo /subsystem:console /opt:ref";
+    $out_def="out64";
+    $tmp_def="tmp64";
     }
 elsif ($FLAVOR =~ /CE/)
     {
@@ -92,6 +94,8 @@
     $opt_cflags=' /MC /O1i';   # optimize for space, but with intrinsics...
     $dbg_clfags=' /MC /Od -DDEBUG -D_DEBUG';
     $lflags="/nologo /opt:ref $wcelflag";
+    $out_def='_$(TARGETCPU)';
+    $tmp_def='_$(TARGETCPU)';
     }
 else   # Win32
     {
@@ -103,11 +107,11 @@
     $opt_cflags=$f.' /Ox /O2 /Ob2';
     $dbg_cflags=$f.'d /Od -DDEBUG -D_DEBUG';
     $lflags="/nologo /subsystem:console /opt:ref";
+    $out_def="out32";
+    $tmp_def="tmp32";
     }
 $mlflags='';

-$out_def="out32"; $out_def.='_$(TARGETCPU)' if ($FLAVOR =~ /CE/);
-$tmp_def="tmp32"; $tmp_def.='_$(TARGETCPU)' if ($FLAVOR =~ /CE/);
 $inc_def="inc32";

 if ($debug)

######CUT HERE#########
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to