Date: Tue, 18 Sep 2007 18:35:04 +0200 (CEST) From: Michael Reifenberger <mike@Reifenberger.com> To: freebsd-arm@freebsd.org Cc: cognet@freebsd.org Subject: 64bit integer problem? Message-ID: <20070918182508.V24397@fw.reifenberger.com>
next in thread | raw e-mail | index | archive | help
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@Reifenberger.com http://www.Reifenberger.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070918182508.V24397>