unsigned long long working ?

Phil Torre ptorre at zetron.com
Sat Feb 7 00:40:33 UTC 2004

On Fri, Feb 06, 2004 at 06:50:14PM -0500, Feng, Shuchen wrote:
> Dear all,
> Did any one  get 'unsigned long long' to work with
> any  powerpc(64) CPU ?  or any CPU ? I thoght this
> could be O.S. dependent along the gcc compiler.

We use unsigned long long on an MPC860.  The newlib formatted i/o
functions (printf and friends) don't handle them correctly, but they
work fine for storing 64-bit integer data.


Phil Torre                               phone: 425-820-6363 x234
Design Engineer                          email: ptorre at zetron.com
Switching Systems Group                    fax: 425-820-7031
Zetron, Inc.                               web: http://www.zetron.com

More information about the users mailing list