Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christopher Curtis <ccurtis@ee.fit.edu>
To: axp-list@redhat.com
Subject: Re: newbie questions
Date: Sun, 5 Apr 1998 13:52:24 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.3.96.980405133959.25742D-100000@yacht.ee.fit.edu> (raw)
In-Reply-To: <3526FD89.7D0BF20E@swt.edu>

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/


  parent reply	other threads:[~1998-04-05 17:53 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-02 19:49 SB16 PnP on Alpha-Linux Kinnunen Kimmo
1998-04-02 19:57 ` Michal Jaegermann
1998-04-05  3:42   ` newbie questions Robb Romans
1998-04-05 15:39     ` Andrew F. Seila
1998-04-05 17:30       ` Deals (was Re: newbie questions) Christopher Curtis
1998-04-05 17:43         ` Andrew F. Seila
1998-04-05 18:08           ` Christopher Curtis
1998-04-05 21:18             ` panic
1998-04-05 18:33         ` Rui-Tao Dong ~{6-HpLN~}
1998-04-05 17:52     ` Christopher Curtis [this message]
1998-04-05 21:02       ` newbie questions Robb Romans
1998-04-03  8:51 ` SB16 PnP on Alpha-Linux David Alan Gilbert
1998-04-03  9:04   ` Martin Ostermann
1998-04-03 14:47     ` Shaju Zachariah
  -- strict thread matches above, loose matches on Subject: below --
1999-12-29 15:07 Newbie questions Wysong Richard C SrA 85 GP/CP
1999-12-27 15:39 Champigny, Michael
1999-12-27 15:37 Wysong Richard C SrA 85 GP/CP
2000-01-06  0:50 ` Mike Touloumtzis
1999-12-27 15:26 Champigny, Michael
1999-12-27 15:21 Wysong Richard C SrA 85 GP/CP
1999-03-25 19:44 newbie questions Mike Stanczyk
1999-03-25 20:17 ` Rich Payne
1999-03-26  7:50 ` Helge Kreutzmann
     [not found] <32DC9EC3.52F9@rainside.sk>
1997-01-15 10:05 ` Matthew Geier
1997-01-15 14:42 ` Pablo Manalastas
1997-01-15  9:20 Martin Ostermann
1997-01-15  9:09 tomas
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox