I forgot to provide some information about the HP-UX 64 bit environment.
Here is a simple program, and it's associated output showing the sizes of
all of the base data types:
Code:
#include <stdlib.h>
#include <stdio.h>
int
main (
int argc,
char *argv[]
)
{
printf ("\nBase Data Type Sizes\n\n");
printf ("Size of boolean: %d\n", sizeof (bool));
printf ("Size of short int: %d\n", sizeof (short int));
printf ("Size of unsigned short int: %d\n", sizeof (unsigned short
int));
printf ("Size of int: %d\n", sizeof (int));
printf ("Size of unsigned int: %d\n", sizeof (unsigned int));
printf ("Size of long int: %d\n", sizeof (long int));
printf ("Size of unsigned long int: %d\n", sizeof (unsigned long int));
printf ("Size of long long int: %d\n", sizeof (long long int));
printf ("Size of unsigned long long int: %d\n", sizeof (unsigned long long
int));
printf ("Size of float: %d\n", sizeof (float));
printf ("Size of double: %d\n", sizeof (double));
printf ("Size of long double: %d\n", sizeof (long double));
printf ("Size of char: %d\n", sizeof (char));
printf ("Size of unsigned char: %d\n", sizeof (unsigned char));
printf ("Size of char*: %d\n", sizeof (char*));
printf ("Size of void*: %d\n\n", sizeof (void*));
exit (0);
}
HP-UX 11.31 ia64 aCC 64bit compiled output:
Base Data Type Sizes
Size of boolean: 1
Size of short int: 2
Size of unsigned short int: 2
Size of int: 4
Size of unsigned int: 4
Size of long int: 8
Size of unsigned long int: 8
Size of long long int: 8
Size of unsigned long long int: 8
Size of float: 4
Size of double: 8
Size of long double: 16
Size of char: 1
Size of unsigned char: 1
Size of char*: 8
Size of void*: 8
Thank you for your time.
On Wednesday, March 27, 2013 9:55:03 AM UTC-4, Shawn Firth wrote:
>
> About a year ago we got Crypto++ 5.6.1 to compile and run on HP-UX 11.31
> Itaninum (ia64) using the HP aCC 64bit compiler (aCC: HP C/aC++ B3910B
> A.06.25 [Nov 30 2009]). We are now trying to get Crypto++ 5.6.2 to compile
> and run on HP-UX 11.31 ia64 using the HP aCC compiler. While it compiles
> (with warnings) and links, it does not function correctly. We noticed that
> the makefile and config.h had changed, and we were wondering if anyone has
> the correct Makefile, config.h, and compiler flags to get Crypto++ 5.6.2 to
> correctly compile for 64bit on HP-UX 11.31 ia64 using the HP aCC 64bit
> compiler?
>
> Here are the default compiler flags when doing a 64bit compile using aCC:
> /opt/aCC/lbin/ecom -architecture 64 -ia64abi all -inst compiletime
> -sysdir /usr/include -test namespaces -koenig_lookup on -ansi_for_scope on
> -inline_power 1 -link_type dynamic -fpeval float -fpevaldec _Decimal32
> -tls_dyn on -target_os 11.31 --sys_include /opt/aCC/include_std
> --sys_include /opt/aCC/include_std/iostream_compat --sys_include
> /usr/include --sys_include /usr -D_HP_IA64ABI -D_BIND_LIBCALLS
> -D_Math_errhandling=MATH_ERREXCEPT -D__hpux -D__unix -D__ia64=1
> -D__ia64__=1 -D_BIG_ENDIAN=1 -D__STDCPP__ -D_HP_NAMESPACE_STD -D_LP64
> -D__LP64__ -D__cplusplus=199711L -D_INCLUDE__STDC_A1_SOURCE
> -D__HP_aCC=62500 -D_HP_INSTANTIATE_T_IN_LIB -D_INLINE_ASM
> -D_FLT_EVAL_METHOD=0 -D_DEC_EVAL_METHOD=0 -ucode hdriver=optlevel%1%
> -plusolistoption -Ol06all! -plusolistoption -Ol12direct! -plusolistoption
> -Ol13moderate! -plusooption
> -Oq01,al,ag,cn,sz,ic,vo,Mf,Po,es,rs,Rf,Pr,sp,in,cl,om,vc,pi,fa,pe,rr,pa,pv,nf,cp,lx,Pg,ug,lu,lb,uj,dn,sg,pt,kt,em,np,ar,rp,dl,fs,bp,wp,pc,mp,lr,cx,cr,pi,so,Rc,fa,ft,fe,ap,st,lc,Bl,sr,Qs,do,ib,pl,sd,ll,rl,dl,Lt,ol,fl,lm,ts,rd,Dp,If
>
> Any/all help would be much appreciated.
> Thanks...
>
>
--
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.
---
You received this message because you are subscribed to the Google Groups
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.