From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 26952 invoked from network); 5 Apr 1998 17:53:04 -0000 Received: from winnie.fit.edu (163.118.5.1) by mail2.redhat.com with SMTP; 5 Apr 1998 17:53:04 -0000 Received: from ee.fit.edu (yacht.ee.fit.edu [163.118.30.1]) by winnie.fit.edu (8.8.7/8.8.7) with SMTP id NAA03531 for ; Sun, 5 Apr 1998 13:49:31 -0400 (EDT) Received: from localhost by ee.fit.edu (SMI-8.6/SMI-SVR4) id NAA26121; Sun, 5 Apr 1998 13:52:25 -0400 Date: Sun, 5 Apr 1998 13:52:24 -0400 (EDT) From: Christopher Curtis To: axp-list@redhat.com Subject: Re: newbie questions In-Reply-To: <3526FD89.7D0BF20E@swt.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 5 Apr 1998, Robb Romans wrote: > As a newcomer to both Linux and Alphas, I am excited to have gotten Red Hat > installed on my new XL300. However, I have a slow internet connection, and > am dismayed by the size of the errata updates. Does anyone have all of this > on a cd, or would someone want to burn one? One option, of course, it to wait for release 5.1 - In general, it's a good idea to wait for the non-terminating-zero release for production type machines. If you're not having any troubles I would recommend against upgrading. However, one option that is always available is to power up the machine one evening, log into the RedHat (or use a mirror) site, and just get the directory. The easiest way to do this is to go into the directory holding the directory you want to download (ie, if you want /pub/updates/redhat-5.0/alpha, cd to /pub/updates/redhat-5.0) and type "get alpha.tar.gz". The remote FTP server will tar and compress the files for you and you can download them as you sleep. :) > I am a beginning C++ programmer, and would like to use this machine to write > all of my code on. Could someone point me to a FAQ or HOWTO that describes > the compilation and debugging procedures for the Alpha? Oops. c++ is broken on alpha rh 5.0 - you'll want the updates. The process though is to create your .C or .cpp file and do a g++ file.cpp -o exectuable If you have a large project, look into 'make'. It's not terribly difficult to learn to do basic things. You may want to download a simple package (ie, one that doesn't use 'configure') and have a look at their Makefile for starters. For debugging, there's "gdb". First, you must compile with the "-g" flag for debugging symbols, then make sure that you can dump core (ulimit -c). When you get a core dump, do a "gdb program core", substituting 'program' with the name of the program that generated the core file ('file core' will tell you who did that). If you're going to be using X, see if 'ddd' is available for Alpha. This is a nice GUI based debugger (much better than xxgdb, imho) that wraps around gdb so you don't have to learn the text commands. However if you're happy with the CLI, the most important commands in gdb are "where" (did it crash) and "print" (a variable value). Often, 'where' is all you need to figure it out. All this info plus much, much, more is in /usr/doc -- Christopher Curtis - http://www.ee.fit.edu/users/ccurtis Florida Institute of Technology - System Administrator, Programmer Melbourne, Florida USA - http://www.lp.org/