*Problem*
Running
perl Configure debug-VC-WIN32 no-asm -DUNICODE -D_UNICODE

Produces appropriate makefiles.
However, running build complains about being unable to find tmp\lib.pdb.
This is because compilation is done in tmp.dbg directory.

*Patch*
Changes made to util/pl/VC-32.pl

Patch content (also attached)
----------------------
--- openssl-1.0.0a.original/util/pl/VC-32.pl 2010-06-01 07:03:20.000000000 +0100
+++ openssl-1.0.0a/util/pl/VC-32.pl 2010-09-16 14:48:56.563763800 +0100
@@ -138,8 +138,8 @@
  }
 
 # generate symbols.pdb unconditionally
-$app_cflag.=" /Zi /Fd$tmp_def/app";
-$lib_cflag.=" /Zi /Fd$tmp_def/lib";
+$app_cflag.=" /Zi /Fd$tmp_def"; $app_cflag.=".dbg" if ($debug); 
$app_cflag.="/app";
+$lib_cflag.=" /Zi /Fd$tmp_def"; $lib_cflag.=".dbg" if ($debug); 
$lib_cflag.="/lib";
 $lflags.=" /debug";
 
 $obj='.obj';
----------------------

True in openssl-1.0.0a. Probably true elsewhere too. e.g. openssl-0.9.8o

Now compiles on my machine...

Running Visual Studio 2010 on Windows 7.

Cheers,
mE


      
*Problem*
Running
perl Configure debug-VC-WIN32 no-asm -DUNICODE -D_UNICODE
 
Produces appropriate makefiles.
However, running build complains about being unable to find tmp\lib.pdb.
This is because compilation is done in tmp.dbg directory.
 
*Patch*
Changes made to util/pl/VC-32.pl
 
Patch content (also attached)
----------------------
--- openssl-1.0.0a.original/util/pl/VC-32.pl 2010-06-01 07:03:20.000000000 +0100
+++ openssl-1.0.0a/util/pl/VC-32.pl 2010-09-16 14:48:56.563763800 +0100
@@ -138,8 +138,8 @@
  }
 
 # generate symbols.pdb unconditionally
-$app_cflag.=" /Zi /Fd$tmp_def/app";
-$lib_cflag.=" /Zi /Fd$tmp_def/lib";
+$app_cflag.=" /Zi /Fd$tmp_def"; $app_cflag.=".dbg" if ($debug); $app_cflag.="/app";
+$lib_cflag.=" /Zi /Fd$tmp_def"; $lib_cflag.=".dbg" if ($debug); $lib_cflag.="/lib";
 $lflags.=" /debug";
 
 $obj='.obj';
----------------------
 
True in openssl-1.0.0a. Probably true elsewhere too. e.g. openssl-0.9.8o
 
Now compiles on my machine...
 
Running Visual Studio 2010 on Windows 7.
 
Cheers,
mE

Attachment: openssl-1.0.0a.01.patch
Description: Binary data

Reply via email to