I'm currently mid way into making the final transition to C++ for new projects. I nicely hit an interregnum where I can spend a bit of time getting things together.
I've settled upon the VC++ 9.0 compiler supplied as part of the Microsoft Windows SDK (for Win7) and will be building native x86 and x64 code with it. (No .net and no itanium stuff for now...) I have the documentation for the command line arguments to cl.exe, link.exe and lib.exe and I believe I understand most of them well enough to get started... But there's a dangling question I'm hoping the MSVC++ gang can help me with...
In my home-brewed compiler driver I'm trying to decide the best combination of flags for each program to use as a default. I also provide the option of modifying them on a per project basis... but it's the defaults I'm interested in...
So...
1) What is the best default command line for cl.exe?
2) Same question but for link.exe...
3) Again, but this time for lib.exe...
Thanks in advance for your help on this....