HP9000-L Archives

August 2003

HP9000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Keven Miller <[log in to unmask]>
Reply To:
Keven Miller <[log in to unmask]>
Date:
Tue, 5 Aug 2003 15:39:17 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (53 lines)
which compiler?

We are using GNU GCC/G++ on the 9000.
Here are parts of my include files.


#ifdef   __mpexl
#  pragma   list off
#  define   _MPEXL_SOURCE  1
#  define   GCC_ALIGN(x)
#  define   farptr         ^
#else
#  define   _HPUX_SOURCE   1
#  define   GCC_ALIGN(x)   __attribute__ ((aligned (x)))
#  define   farptr         *
#endif


/*------- Alignment stuff -------*/
#ifdef   __mpexl
#  pragma   HP_ALIGN MPE_16      PUSH
/* for HP-C on HP9000 use HP_ALIGN HPUX_WORD PUSH */
#endif

typedef  unsigned short u16h  GCC_ALIGN(2);
typedef  int            i32h  GCC_ALIGN(2);
typedef  unsigned int   u32h  GCC_ALIGN(2);
typedef  float          f32h  GCC_ALIGN(2);
typedef  double         f64h  GCC_ALIGN(2);

#ifdef   __mpexl
#  pragma   HP_ALIGN POP
#endif
/*------- Alignment stuff -------*/



typedef struct {
   char  setname [16];
   char  settype [2];
   i16   entrylen;
   i16   blockfactor;
   i16   res1;
   i16   res2;
   u32h  numentries;
   u32h  capacity;
} dbinfo_202_t;



___________________________________________________________________
Keven Miller   mailto:[log in to unmask]   http://www.exegesys.com

ATOM RSS1 RSS2