From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3114176df973c0bf X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-07-09 08:03:35 PST Path: bga.com!news.sprintlink.net!hookup!news.kei.com!ddsw1!news.cic.net!locust.cic.net!pauls From: pauls@locust.cic.net (Paul Southworth) Newsgroups: comp.unix.osf.osf1 Subject: Re: GNU finger on OSF/1 2.0b [AND GDB] Date: 9 Jul 1994 14:57:20 GMT Organization: CICNet, Inc. Message-ID: <2vmdsg$ce0@spruce.cic.net> References: <2vk57o$7gq@sgate.com> NNTP-Posting-Host: locust.cic.net In article <2vk57o$7gq@sgate.com>, Mike Matthews wrote: >I'm trying to get GNU finger 1.37 to compile on a DEC 3000/400 running OSF/1 >2.0b. > >"configure" made some poor assumptions, and after tearing my hair out about >GNU's wonderful choice of naming their own getopt routines after the library >routines, it dumps core still (it::=fingerd). GNU finger is really old and hasn't been updated in eons. I think the ICSI hack of GNU finger is substantially newer. You can try that instead: ftp.icsi.berkeley.edu:/pub/stolcke/icsi-finger* >So I figure I'd get gdb since we don't have a license to debug anything but >the kernel (which is pretty lame, but hey, it's the way it is). Yeah, everybody hates crippleware... but who's listening? >And I find that gdb doesn't support the alpha CPU, and/or OSF/1. Did you try "alpha-dec-osf1" as your configure argument? gdb 4.12 seems to grok that string as a valid configuration. When I look in the ~gdb-4.12/configure.in file I see: case "${target}" in alpha-dec-osf1*) noconfigdirs="$noconfigdirs emacs fileutils grep gas libg++ libio newlib" ;; alpha*-*-*) noconfigdirs="$noconfigdirs gas libg++ libio newlib" ;; ...etc... And when I configure it that way, I see the following CFLAGS worked out which sure look like there's some understanding of the Alpha: grep HOST_64_BIT sysdep.h > 64 sed -e 's/@WORDSIZE@/64/' -e '/64-bit.*sysdep.h/ r 64' < ./bfd-in2.h > bfd.h-new ./../move-if-change bfd.h-new bfd.h rm -f 64 touch stmp-bfd.h gcc -c -g -DHOST_64_BIT="long " -DOSF_CORE -I. -I. -I./../include archive.c ...etc... I haven't used it yet (just started compiling) but that seems to indicate at least some work on an Alpha port. By your post it didn't sound like you got that far. If it doesn't work, you might try asking on gnu.gdb.bug with regard to the state of the Alpha/OSF port of GDB. -- Paul Southworth CICNet Systems Support pauls@cic.net