It’s been a while since I didn’t write some C/C++ code, and as it turns out, I will be starting work on a C++ project.
So before going into the actual project, I took up some tasks:
- Get some reading done on C++ to brush up things
- Get the dev environment working
The two books that I started to read are both by Scott Meyers “Effective C++: 55 Specific Ways to Improve Your Programs and Designs” and “More Effective C++: 35 New Ways to Improve Your Programs and Designs“. Also I took a C++ Primer on the desk “just in case”. Both of them are great lecture and go straight to the sweet-spot – no beating around the bush.
Next, I came the dev environment set-up, where I took the following decisions:
- Use Eclipse CDT
- Use Boost (v 1.40) libraries for extra stuff
- Constantly build both x86 and x86_64 branches
- Have cross compile on Ubuntu
- Use gcc -m32 or respectively -m64 to compile
- Get the Boost libraries (both shared objects .so and statically linkable ones .a) for both 32 and 64 bit set-up in /usr/lib and /usr/lib64
- Go with statically linked libraries as much as possible (as it keeps the library mess at a lower overhead in a cluster set-up)
If you want to spread the word:
It‘s quite in here! Why not leave a response?