Kilsmo's log

3 platforms, one hobby development environment

, , , , ,

My quest for the perfect cross platform hobby development environment goes on.

The first thing I did was to run gdb on QT applications in Emacs on MacOS X, and it did not take long to get that working, since everything already was installed on my computer. I still have to build with xcode, since I haven't figured out yet how to build QT applications with just the command line yet. I was so happy to get gdb working, so I moved on.

Next stop was Windows Vista. I installed QT, and had lots of problems with that, but it should not have been a problem I just misread the manual. QT was nice enough to ask me if I wanted to install MinGW, which includes gcc and make, and I couldn't turn down such a fine offer. I had of course installed Emacs 22.1 too.

The last step, getting gdb running, was not something that I thought would happen easily. A quick search on Google gave me almost nothing. (everything that Google could find was older than Windows XP, so not much help there) After Google, I checked MinGW home page, where I found gdb.

I had some problems building a debug version of my QT application, made a small change to the debug makefile, and was able to debug with gdb in Emacs.

I still need to tweak my development system some, but at least I have a proof of concept that my current setup can be used for cross platform development.

I am not a tool person, I hate tools. I am used to move between platforms, and I have a hard time getting attached to tools that is not cross platform. Now at least I have a motivation for learning Emacs.

Emacs 22.1, nice surpriseKDE 4 - another option

Comments

mrgnu Tuesday, January 1, 2008 10:51:04 PM

regarding building from the command line: have you tried jam? i've only tested it once as of yet, but it seems to give me much less of a headache than writing makefiles. i'm not sure it's available for vista though, so perhaps it's simply not an option.

Nicklas Westinkilsmo Thursday, January 3, 2008 7:59:32 PM

I have not used Jam, but I took a look at it a few year ago for some reason.

Write a comment

New comments have been disabled for this post.

May 2013
M T W T F S S
April 2013June 2013
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