Whatever you do will be insignificant, but it is very important that you do it.
- Mahatma Gandhi

Thursday, August 28, 2008

Bengal Ridge Golf Course

During lunch today I went and played the Bengal Ridge Disc Golf course with some friends from work.  We had a good time.  It makes Ross Park look very easy by comparison.  The drives are a lot longer, there's much fewer "safe" places, and it's quite the hike to get to some of the holes.  It is very beautiful and a good way to get a hike in while you're playing.

Finding multiple files with the find command on Linux

After fighting with the find command for quite a while yesterday, and trying to figure out it's regular expression parsing engine, one of my co-workers just let me in on a very useful function of find. You can specify multiple "-name" options on a command line if you seperate them with a "-o". For example, if you want to find all the files on your system named kids.txt and money.txt, you could issue the following command,
find / -name kids.txt -o -name money.txt
Pretty handy. Hope this helps you out if you are ever in this situation!

Wednesday, August 27, 2008

Installing old GCC Versions on current Linux distributions

Well, today I found out that I've been doing something wrong for quite a while. We have some code at work that was developed on RedHat 7.3 and has always had a hard time compiling on anything newer. There's a large, unsupported library that we depend on that doesn't compile on new compilers either. So, we're stuck with using an old compiler. On RHEL3, gcc 2.95 compiled OK with little tweaking. However, on RHEL4 it does not compile. After talking with a co-worker, and searching on the web, I found some documentation of the command "make bootstrap". This is great because it will bootstrap itself and then build with no problems after that's done. I hope if anybody else is stuck in this situation, this helps a bit.