Meta
October 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Blogroll
IP info
Programs
Tag Archives: MSVC
Two more useful flags for cl.exe
/Be appears to spit out a make file snippet that contains the recipe to reproduce a given run of cl.exe. It takes into account variables. Check it out: all: @cd D:\17.7.5\x64 @set INCLUDE= @set LIB= @set LIBPATH= @set CL=/nologo /utf-8 … Continue reading
Undocumented MSVC
Some ongoing research. For obvious reasons I can only share results and tools, but not actual sample data.
Log build command lines with cl.exe, link.exe and friends
Turns out you can enable detailed logging of the command lines run by MSBuild when building from Visual Studio or the command line. This may not seem like much, until you realize that technically you rarely get to see the … Continue reading
Floating point precision … printf-VS2013-vs.-later-VS-version edition
As developers we probably all know that floating point precision can be an issue . It can haunt us in various ways. Generally when we talk about precision, though, we probably don’t have in mind printf as the first thing. … Continue reading
That trick I learned with the Visual Studio debugger
Alright, I’ll admit it it: I am in team WinDbg. Sure, I’ll happily use WinDbgX — the “Preview” version of the “new” WinDbg which has been in preview for ages now — but I always was a bit unhappy with … Continue reading
dumbin.exe, editbin.exe, lib.exe …
They’re all just slim wrappers around the actual link.exe, not using a common DLL or so, but actually invoking: dumpbin.exe simply invokes “link /dump” and failing that “link.exe link /dump” editbin.exe simply invokes “link /edit” and failing that “link.exe link … Continue reading
What does adding masm targets do under the hood
If in Visual Studio when you right-click a C/C++-project in the Solution Explorer, you choose Build Customizations…, the following dialog will be presented: If you check the item for masm, the following changes will be done to your .vcxproj file: … Continue reading