🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #39461

Re: GNU-C configuration info wanted

#39461
From: Bob Waltenspiel
Date: Tue, 12 Dec 1989 19:17
61 lines
3009 bytes
>Has anybody put together a configuration of GCC running on an ST that
>works?

I'm attempting to setup a system to use GCC as well.  You seem to be 
a bit further than I, so I have no answers to your questions.  I am
posting this to show that there are people out here trying to use the
GNU stuff and having trouble.  Those in the know, please respond to
this basenote.  My specific questions is below.

>My set-up is a Mega ST-4 with 68 meg of hard disk, TOS 1.2 and a Mono-monitor.
>I have FOLDR400.PRG in my auto directory, and I run gnu-make from under
>a modified MWC shell.
I have a 520ST w/2.5M and color screen, ICD Host Adaptor with 44M of disc
space.  I'm using the Gulam shell.

I've been attempting to get gdb going but have not been able to get it
to allow me to debug at the source level.

I have to link in a second step after compiling because I don't have
gnugdb.olb.  I don't want to get all the the gnu sources to compile my
own copy.  Could someone please send me one? 

A question about when using gdb.  First what I'm doing.

>cc -c -gg hello.c				<gives me a hello.o file>
>sym-ld -r -o hello.sym c:\bin\gnu\lib\crt0.o	<gives me a hello.sym file>
>cc hello.o -o hello.ttp	<gives me a hello.ttp file (the executable,
			although I haven't tried to execute it by itself)>

>gdb				<start gdb>
(gdb) sym hello.sym
<something about loading sym table...done>
(gdb) exec hello.ttp
(gdb) run
<starts hello.ttp giving what looks like an address and some signal info>
(gdb) list
Listing source requires symbols.
<I thought I have the symbols with the sym command?>
(gdb) step
<more address info>

What do I need to do to have it step through and show me the source code?
I want to use gdb at the highest level, after all, I'm just learning this
stuff.

>Can anyone give me pointers, descriptions, how-to's or other advice?
Yes, please do this.

>					Daniel A. Glasser

-Bob

 ----------------------------------- -----------------------------------------
| Bob Waltenspiel                   | e-mail: bobw@hpsad (hplabs!hpsad!..)    |
| ATE Software Team                 | Telnet: 794-3091                        |
| HP Signal Analysis Division       | AT&T: (707) 794-3091                    |
| 1212 Valley House Dr.             | HPDesk: Bob WALTENSPIEL/HP5300/A0       |
| Rohnert Park, CA 94928-4999       | HP Mailstop: 1UR-M                      |
 ----------------------------------- -----------------------------------------

Although Pooh's head was stuffed with fluff, he was a cheerful fellow.
Technical Details
Message-ID: <750036@hpsad.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!decwrl!ucbvax!hplabs!hpl-opus!hpnmdla!hpsad!bobw
References: <882@per2.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!decwrl!ucbvax!hplabs!hpl-opus!hpnmdla!hpsad!bobw
From: bobw@hpsad.HP.COM (Bob Waltenspiel)
Newsgroups: comp.sys.atari.st
Subject: Re: GNU-C configuration info wanted
Message-ID: <750036@hpsad.HP.COM>
Date: 12 Dec 89 19:17:04 GMT
References: <882@per2.UUCP>
Organization: HP Signal Analysis Div - Rohnert Park, CA
Lines: 61