Archive for July, 2010

Installing a project’s build deps

July 30, 2010

A little trick I learned from Dodji

yum install yum-utils
yum-builddep nemiver

Installs all the build dependencies for nemiver so I am ready to configure and build it.

C++ Support in GDB: Argument Dependent Lookup (ADL)

July 27, 2010

My ADL work on GDB is now all upstream. Here is a demo:

git rebase –interactive

July 27, 2010

git rebase --interactive is awesome for the back and forth of the GDB review process.

Eclipse C Linux: Intro

July 23, 2010

I have been using eclipse for quite a while now. Back when I worked on Frysk it was great. Frysk was written in Java which is eclipse’s strong point. When I moved to GDB I was worried that the eclipse C/C++ plugin (CDT) was not going to provide as nice an experience. Although not without its problems the CDT was pretty nice, and has improved a lot since.

So I would like to write a few blog posts and maybe a screen cast about how I use CDT hoping that you might find it useful too.

Eclipse is particularly useful when you are new to a project which has a large code base such as GDB. If I had to pick one, I think the most useful feature of eclipse is Ctrl+Click. Ctrl+Click on a variable to go to its declaration; Ctrl+Click on a function declaration to go to its definition; Ctrl+Click to go back. Basically when in doubt Ctrl+Click.

Next few posts I will talk about building C/C++ projects, editding/exploring code, and debugging C/C++.

Keeping TTC Gum-free

July 21, 2010

TTC is the Toronto Transit Commission. They have a gum problem. Sometimes there is gum stuck on the seats and I guess under the seats of the subway cars. So, they introduced this new add:

Do you think this is an effective user interface ? If not what could be better ?


Follow

Get every new post delivered to your Inbox.