Entries from July 2007

25 July, 2007

compiling windows apps on linux

now that we successfully used cmake to compile a linux app (in the last article), we will now try and compile it for windows.
I am doing this on Gentoo linux, so your mileage may vary if you used a different distribution.
I am starting with http://gentoo-wiki.com/HOWTO_MinGW as a rough guide.

# emerge -va sys-devel/crossdev
# echo [...]

24 July, 2007

Cross platform development with the Eclipse CDT

So, you want to create an application that can un under both Linux and Windows?
This is my experiment trying to do just that… Lets see if the Eclipse CDT is robust to do cross platform development!
Step 1: Install the Eclipse 3.3 SDK if you have not already done so. Make sure to [...]

14 July, 2007

Installing eclipse 3.3 on Gentoo

Today was the day to get eclipse going on Gentoo. I downloaded the latest version (3.3) and dropped it into /opt/eclipse.
I fired it up and got:
# ./eclipse
* run-java-tool is not available for sun-jdk-1.6 on i686
* IMPORTANT: some Java tools are not available on some VMs on some architectures
so, clearly it did not like [...]

12 July, 2007

Getting ready for eclipse on Gentoo

Getting ready for eclipse 3.3 on Gentoo, I first need to get my system configured to use a more recent version of Java instead of the default 1.4.
Here is a site dedicated to gentoo java: http://www.gentoo.org/proj/en/java/
the first thing to do is emerge java

get rid of old versions
# emerge -C java-config
add the newest
# emerge [...]

9 July, 2007

moving to linux

Well, I finally made the decision to move to Linux from Windows XP.
I have decided upon using Gentoo as my platform of choice.  Gentoo seems to be the most cutting edge, as it supports installations via compiling everything from source, which gives me the ultimate in flexibility.
The only downside is that it takes a long [...]