Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: ddd
       [not found] <199701272013.PAA13041@sobolev.dsm.fordham.edu>
@ 1997-01-27 20:22 ` Daniel Gruner
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Gruner @ 1997-01-27 20:22 UTC (permalink / raw)


Hi

> 
> Hi.
> 
> Have you had any luck building ddd?

I have a running ddd on my pentium box (where I also have the real motif).

> 
> I have had the following experience:
> 
> (1) The version of lesstif I have (on both our Intel and Alpha boxes)
>     was missing two header files (VirtKeys.h and VirtKeysP.h) that
>     seem to be needed.  For the purpose of trying things out, I
>     snarfed these files from a machine that has (real) Motif running
>     (an IBM RS6K running AIX). 

I had problems with lesstif on the alpha, and I think principally due
to the fact that lesstif is not 64 bit clean (too many warnings about
conversions between pointers and ints, which are not the same size).

> 
> (2) The make proceeded without incident on the Intel box.  However,
>     the ddd that was built didn't quite work right.  In particular,
>     text selection didn't work, so I couldn't do (e.g.) lookup.

It doesn't work on the alpha, presumably due to lesstif.

> 
> (3) The make went almost OK on the Alpha, but I got the error msg from
>     /usr/include/g++/streambuf.h!  

I posted a fix for this on the axp-list.  I will include at the end of this
the fixes to /usr/include/libio.h for the alpha (as I sent them to the list).

> 
> Thoughts?
> 
> -- 
> Art Werschulz (8-{)}   "Metaphors be with you."  -- bumper sticker
> GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y? 
> Internet: agw@dsm.fordham.edu <a href="http://dsm.fordham.edu/~agw/">WWW</a>
> ATTnet:   Fordham U. (212) 636-6325, Columbia U. (212) 939-7061
> 

I hope it works for you.  I don't have high hopes on lesstif (unless you
want to do the dirty work of cleaning it up - I don't have time).  At least
you will have cleaner g++ compiles on the alpha.

Daniel

=========================================================================
diff -c libio.h.orig libio.h

*** libio.h.orig        Fri Jan 24 18:02:25 1997
--- libio.h     Fri Jan 24 18:02:42 1997
***************
*** 262,267 ****
--- 262,283 ----
  #define _IO_feof_unlocked(__fp) (((__fp)->_flags & _IO_EOF_SEEN) != 0)
  #define _IO_ferror_unlocked(__fp) (((__fp)->_flags & _IO_ERR_SEEN) != 0)
  
+ #ifndef _IO_getc
+ # define _IO_getc(f)  _IO_getc_unlocked(f)
+ #endif
+ #ifndef _IO_peekc
+ # define _IO_peekc(f) _IO_peekc_unlocked(f)
+ #endif
+ #ifndef _IO_putc
+ # define _IO_putc(c,f)        _IO_putc_unlocked(c,f)
+ #endif
+ #ifndef _IO_feof
+ # define _IO_feof(f)  _IO_feof_unlocked(f)
+ #endif
+ #ifndef _IO_ferror
+ # define _IO_ferror(f)        _IO_ferror_unlocked(f)
+ #endif
+ 
  /* This one is for Emacs. */
  #define _IO_PENDING_OUTPUT_COUNT(_fp) \
        ((_fp)->_IO_write_ptr - (_fp)->_IO_write_base)
***************
*** 282,287 ****
--- 298,306 ----
  extern int _IO_vfprintf __P((_IO_FILE*, const char*, _IO_va_list));
  extern _IO_ssize_t _IO_padn __P((_IO_FILE *, int, _IO_ssize_t));
  extern _IO_size_t _IO_sgetn __P((_IO_FILE *, void*, _IO_size_t));
+ 
+ extern _IO_fpos_t _IO_seekoff __P((_IO_FILE*, _IO_off_t, int, int));
+ extern _IO_fpos_t _IO_seekpos __P((_IO_FILE*, _IO_fpos_t, int));
  
  extern void _IO_free_backup_area __P((_IO_FILE*));

======================================================================

-- 

Dr. Daniel Gruner                        dgruner@tikva.chem.utoronto.ca
Dept. of Chemistry                       phone:  (416)-978-8689
University of Toronto                    fax:    (416)-978-5325

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* ddd
@ 1997-03-21 18:45 Art Werschulz
  0 siblings, 0 replies; 2+ messages in thread
From: Art Werschulz @ 1997-03-21 18:45 UTC (permalink / raw)


Hi.

Has anybody gotten ddd (Dynamic Display Debugger) to run under Alpha
Linux?  It compiles with complaints if you use motif, but it doesn't
run properly.

-- 
Art Werschulz (8-{)}   "Metaphors be with you."  -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y? 
Internet: agw@dsm.fordham.edu <a href="http://dsm.fordham.edu/~agw/">WWW</a>
ATTnet:   Fordham U. (212) 636-6325, Columbia U. (212) 939-7061

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-03-21 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <199701272013.PAA13041@sobolev.dsm.fordham.edu>
1997-01-27 20:22 ` ddd Daniel Gruner
1997-03-21 18:45 ddd Art Werschulz

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