Building ghc from source

Am trying to get a latest ghc + haskell platform + cabal setup on my laptop.. I have built ghc-7.4 from source… now here’s the time it takes to run make on amd athlon 64×2 running on a 32-bit Ubuntu 11.10 with 2 GB RAM..


time -p ./configure
real 32.47
user 12.16
sys 4.77


time -p make

real 10345.75
user 8729.29
sys 1045.89


sudo time -p make install
real 121.08
user 54.49
sys 8.96

programming language mix-up

I don’t know why or how i still mix-up both C and python usages…i.e: Just tried to use python’s global keyword like i would in C. Declaring global and then trying to use the variable throughout the module…in different functions….It’s amazing i still think of it that way, considering how i never professionally program using C.. Once out of college, my only touch with C was timepass trying small programs from blog posts…. Darn,, i wasted about a couple of hours on this..

Update:
In retrospect, i can be excused… After all throughout my career i have been through atleast about 3 languages(Baan script,presentation script,python not to mention ones i started programming with C,C++, java) so far and my professional programming career is only 5 years old(not to mention with a break)… That’s to ignore that i have been through 3 natural languages too… I guess, it’s too much to ask of my brain…Perhaps only more than what most people ask of..either way am cool with it..