Skip to content

Monthly Archives: February 2014

Git config in action!!!


This is the git command I learned today.I had wrongly set a wrong email id and user name for the git repo being used. Today I noticed the same and got to removing these entries. So here is a list of the various userful git config commands I learnt today.

Links dump for GCC optimization options.


Code optimization by using GCC options is the oldest trick programmer’s fallback to whenever the program size or speed improvements are expected. I was also in search of some easy gains in speed & size. Hence started the research to understand the various GCC options for compile time optimizations.

Adding compiler flags to existing CMake flags.


I have been checking out various means to add compiler options while using the CMake build system. This was not so obvious to me when going through all the .cmake files in my huge project. So after searching a bit the following is the way to add custom compiler flags to cmake builds: