Monday, July 13, 2009
Thursday, July 9, 2009
I knew this was coming, but I didn't it would come so fast and in this way. Latest svn build just hit a SNAFU. Ah, the perils of living on the bleeding edge. Thank God, I still have firefox. And 3.5 is pretty good with it's speed too.
Monday, July 6, 2009
After this, God knows what got into me and I tried to compile open64 with gcc4.4 that comes with fedora 11. There were a few bugs along the way. I included cstring, cstdlib here and there and they were fixed. The last one that I got stuck on was in c-parse.c. Now I am officially giving up on my install-as-many-compilers-as-you-can binge. LLVM should be fine, for now.
EDIT0: Ok, I broke my promise to myself. I installed it using the binary rpm. :)
Fedora comes with a prepackaged llvm. To install that, you just need to do yum install llvm. But to compile any thing with llvm, you need to install llvm-gcc. Here's how to do it.
1. install llvm by
$ yum install llvm
2. download llvm-gcc source code from here. I downloaded llvm-gcc4.2-2.5.source.tar.gz. Let's say you downloaded it to /path/to/llvm-gcc
3. now extract the tarball by
$ cd /path/to/llvm-gcc
$ tar -zxvf llvm-gcc-version.tar.gz
4. make temp directories for compilation
$ cd /path/to/llvm-gcc/llvm-gcc4.2-2.5.source
$ mkdir install;mkdir obj
5. now comes the fun part of customizing everything to suit your needs. I did
$ cd obj
$ ../configure --prefix=`pwd`/../install --program-prefix=llvm- --enable-llvm=/usr --enable-languages=c,c++,fortran --disable-multilib
The extras here are fortran, disabled multilib for native x86-64 builds and the prefix directory for installation.
6. Now compile and install
$ make -j2
On your machine, it might be a little different depending on how many cpus you can spare for installation.
7. Finally, install it with
$ make install
Now all your stuff will be installed int the $prefix/install/bin directory. Here, $prefix is the path you used to run ./configure, and not some arbitrary environment variable. You may place symlinks at your preferred places.
Saturday, July 4, 2009
Thursday, July 2, 2009
Wednesday, July 1, 2009
I just installed google chrome using this. Even though I am running a 64 bit version. Install using yum and it will run perfectly. I am all over this thing. It is awesome, it runs like a rocket, GAAAWWWD. Every one should try this. Thanks for making this repo available. This thing is going to kick ass when done in gentoo. !!! Thank God for the competition.
EDIT0: I wrote this using chrome. The repo maintainer seems to be updating his repo fairly quickly (for now atleast).
EDIT1: As correctly pointed out here, the rpms are not native 64 bit binaries. They are 32 bit ones, which work correctly for 32 bit ones too.