64bit integer problem?

Michael Reifenberger mike at Reifenberger.com
Tue Sep 18 09:59:42 PDT 2007


Hi,

on my AVILA-arm board I'm unable to compile lang/perl

On of the problems seems to be related to long long handling:

The following program:
##############################
#include <sys/types.h>
#include <stdio.h>
int main() {
   long long q = 12345678901LL;
   printf("%lld\n", q);
}
##############################

gives the output:
-2315945094416433150

Is there a endian issue?

Bye/2
---
Michael Reifenberger
Michael at Reifenberger.com
http://www.Reifenberger.com



More information about the freebsd-arm mailing list