unable to run in unix enviornment
i tried running simple programe using ttmath library in aix platform...how ever it is giving the following error
IOT/Abort trap in pthread_kill at 0xd01247d4 ($t1)
0xd01247d4 (pthread_kill+0x88) 80410014 lwz r2,0x14(r1)
below is the code which i am trying to run
typedef ttmath::Big<1, 2> MyBig;
a = "12345678901234567";
b = "12345656789643.764";
unsigned int asd;
asd = a.ToString(str);
note: there is no compilation error it only gives erorr when executing the ToString() function
the envionment detail for the above execution is
pthread version : bos.rte.libpthreads 220.127.116.11
aix version 5.3
Unfortunately I don't have access to any AIX platform. What compiler are you using? Could you run this sample program and show output:
std::cout << ttmath::UInt<1>::LibTypeStr() << std::endl;
std::cout << TTMATH_MAJOR_VER << "." << TTMATH_MINOR_VER
<< "." << TTMATH_REVISION_VER << std::endl;
std::cout << sizeof(signed int) << std::endl;
std::cout << sizeof(unsigned int) << std::endl;
std::cout << sizeof(signed long ) << std::endl;
std::cout << sizeof(unsigned long) << std::endl;
What kind of machine it is - little endian or big endian? 32 or 64 bits?
thanks for the rply..
just to add to the info..the code is working fine in LINUX(64 bit) with g++ and MS VC++ cl.exe compiler.
how ever it is giving isues on AIX 5.3 and solaris 5.10.
both are 32bit machine and we are using xlC_r compiler in AIX and CC in solaris 5.10
and the output in the AIX and SOLARIS machine are given below :
ttmath library is giving compilation issues with g++ 2.95.3 compiler in linux
is der any workaround for dat
i tried running a code using ttmath library for g++ version 2.95.3 ..but is giving loads of compilation errors
i even tried compiling the code using thye older versions of ttmath library..but none of them seem to support the g++ 2.95.3 compiler