scsh-hackers
[Top] [All Lists]

[Scsh-hackers] [ scsh-Bugs-428045 ] building on Irix 6.5

To: noreply@sourceforge.net
Subject: [Scsh-hackers] [ scsh-Bugs-428045 ] building on Irix 6.5
From: noreply@sourceforge.net
Date: Mon, 28 May 2001 13:16:25 -0700
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
Bugs item #428045, was updated on 2001-05-28 13:14
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=428045&group_id=10493

Category: build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian D. Carlstrom (bdc)
Assigned to: Brian D. Carlstrom (bdc)
Summary: building on Irix 6.5        

Initial Comment:
From: Dave Love <fx@gnu.org>
To: scsh-bugs@zurich.ai.mit.edu
Subject: building on Irix 6.5        
Date: 18 Oct 1999 11:47:56 +0100

I had to make this change to build scsh-0.5.2 and 
check on Irix
6.5.3m.  Presumably this breaks it on other Irix 
versions, but I'm
afraid I don't know the issues.

cd /user2/fx/scsh-0.5.2/scsh/machine/
diff -c /user2/fx/scsh-
0.5.2/scsh/machine/sigset.h\~ /user2/fx/scsh-
0.5.2/scsh/\
machine/sigset.h
*** /user2/fx/scsh-0.5.2/scsh/machine/sigset.h~ Sat 
Oct 14 04:34:21 1995
--- /user2/fx/scsh-0.5.2/scsh/machine/sigset.h  Fri 
Oct 15 18:38:42 1999
***************
*** 2,10 ****
  ** These macros are OS-dependent, and must be 
defined per-OS.
  */

! #define make_sigset(maskp, hi, lo) ((maskp)->sigbits
[0]=((hi)<<24)|(lo))

  /* Not a procedure: */
  #define split_sigset(mask, hip, lop) \
!       ((*(hip)=((mask).sigbits[0]>>24)&0xff), \
!        (*(lop)=((mask).sigbits[0]&0xffffff)))
--- 2,10 ----
  ** These macros are OS-dependent, and must be 
defined per-OS.
  */

! #define make_sigset(maskp, hi, lo) ((maskp)-
>__sigbits[0]=((hi)<<24)|(lo))

  /* Not a procedure: */
  #define split_sigset(mask, hip, lop) \
!       ((*(hip)=((mask).__sigbits[0]>>24)&0xff), \
!        (*(lop)=((mask).__sigbits[0]&0xffffff)))

Diff finished at Mon Oct 18 11:43:39




----------------------------------------------------------------------

>Comment By: Brian D. Carlstrom (bdc)
Date: 2001-05-28 13:16

Message:
Logged In: YES 
user_id=27364

From: Rolf-Thomas Happe <rthappe@balrog.mathematik.uni-
freiburg.de>
To: scsh-bugs@zurich.ai.mit.edu
Subject: sigset_t / IRIX 6.5
Date: Tue, 1 Aug 2000 19:50:22 +0200 (CEST)

I had to change sigbits into __sigbits in order to build 
scsh 0.5.2
on an IRIX 6.5 IP32 platform. This regards
scsh-0.5.2/scsh/irix/sigset.h :

5c5
< #define make_sigset(maskp, hi, lo) ((maskp)->sigbits[0]=
((hi)<<24)|(lo))
---
> #define make_sigset(maskp, hi, lo) ((maskp)->__sigbits[0]=
((hi)<<24)|(lo))
9,10c9,10
<       ((*(hip)=((mask).sigbits[0]>>24)&0xff), \
<        (*(lop)=((mask).sigbits[0]&0xffffff)))
---
>       ((*(hip)=((mask).__sigbits[0]>>24)&0xff), \
>        (*(lop)=((mask).__sigbits[0]&0xffffff)))

rthappe








----------------------------------------------------------------------

Comment By: Brian D. Carlstrom (bdc)
Date: 2001-05-28 13:14

Message:
Logged In: YES 
user_id=27364

From: Dave Love <d.love@dl.ac.uk>
To: "Brian D. Carlstrom" <bdc@ai.mit.edu>
Subject: Re: building on Irix 6.5
Date: 18 Oct 1999 19:54:12 +0100

You wrote:

 > Dave Love writes:
 >> I had to make this change to build scsh-0.5.2 and check 
on Irix
 >> 6.5.3m.  Presumably this breaks it on other Irix 
versions, but I'm
 >> afraid I don't know the issues.

 > Is there something we can ifdef for? IRIX6 or something? 
or better a
 > version IRIXVERSION > 60? For example on HP, I can get 
gcc to tell me
 > what symbols it defines like below.

If you need the OS version, you'd get it via autoconf -- 
cpp doesn't
help -- but I've no idea what might work in exactly what 
version of
Irix, sorry.  I think you need an Irix guru.  I'm a bit 
surprised if
no-one else has run into this.











----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=428045&group_id=10493


<Prev in Thread] Current Thread [Next in Thread>