7. The /Zi option works, but it’s hard to find the right .pdb file without specifying more options. For the sake of simplicity, the /Z7 option just embeds all the debug symbols into the .lib files. Read more here.

8. For the 64-bit build, Visual Studio uses MASM (ml64.exe) to compile assembly code. According to MASM’s documentation, the /Z7 option is not supported.

This post is very useful. When I run
$ git clone git://git.openssl.org/openssl.git
I got
remote: warning: unable to access ‘/root/.config/git/attributes’: Permission denied
How to fix it? Shall I ignore it?