From: emuntean@newlog.com (Eugen Muntean)
Subject: Re: does tru64 v.4.g support long long int (%lld)?
Date: 28 Mar 2002 09:48:10 -0800 [thread overview]
Message-ID: <304099f8.0203280948.38d5731@posting.google.com> (raw)
In-Reply-To: harris-373F6C.18443527032002@gazette.loc1.tandem.com
Bob Harris <harris@zk3.dec.com> wrote in message news:<harris-373F6C.18443527032002@gazette.loc1.tandem.com>...
> In article <304099f8.0203270912.60536a8e@posting.google.com>,
> emuntean@newlog.com (Eugen Muntean) wrote:
>
> X I tried to compile with cc, a tcp code for communication between
> X machines tru64 and a linux backup server. The client (tru64) code
> X contains a statement like:
> X
> X sprintf(buf, "%lld", st_size);
> X
> X where st_size contain the size of the file to be backed up (it may be
> X >2GO)
> X
> X The compiler works well, but the binary code made a lot of damage in
> X the memory.
> X
> X I am asking if tru64 support the long long int type?
> X I didn't also find the cc compiler option "FILE_OFFSET_BITS" (like in
> X 7.2 RH Linux).
> X
> X Could anyone help me?
> X Eugen
>
> a 'long' in Tru64 UNIX is 64 bits.
>
> "%ld" formats a 64 bit long.
>
> I do not know what FILE_OFFSET_BITS is, but there is a pathconf()
> _PC_FILESIZEBITS in Tru64 UNIX v5.*, is this similar to what you are
> looking for?
>
> Bob Harris
Yes, you are right.
The FILE_OFFSET_BITS is an -Dname preprocessor option for cc compiler,
defined in a Rules.make file. Unfortunately these option is not
considered by tru64 cc compiler.
(I forced it using an explicit #define)
Thank you,
Eugen
next prev parent reply other threads:[~2002-03-28 17:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-27 17:12 does tru64 v.4.g support long long int (%lld)? Eugen Muntean
2002-03-27 23:44 ` Bob Harris
2002-03-28 17:48 ` Eugen Muntean [this message]
2002-03-28 8:57 ` Timo Felbinger
2002-03-29 2:27 ` Rajanish Calisa
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox