Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michael J. Donahue <donahue@ulexite.nist.gov>
Subject: f2c and 4-byte integers
Date: Tue, 29 Oct 1996 11:33:02 -0500	[thread overview]
Message-ID: <199610291633.LAA06312@ulexite.nist.gov> (raw)

Hi all,

Sorry if I'm overlooking something obvious, but how do I get f2c to
map INTEGER*4 to 4-byte integers on Linux/AXP?

From the f2c man page:

          -I2  Render INTEGER and LOGICAL as short, INTEGER*4 as long
               int.  Assume the default libF77 and libI77:  allow only
               INTEGER*4 (and no LOGICAL) variables in INQUIREs.
               Option `-I4' confirms the default rendering of INTEGER
               as long int.

Also, f2c.h has

   typedef long int integer;
   typedef short int shortint;

Under Linux/AXP, short is 2 bytes, int is 4 bytes, and long is 8
bytes, right?

TIA,

-mike
michael.donahue@nist.gov

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

             reply	other threads:[~1996-10-29 16:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-29 16:33 Michael J. Donahue [this message]
1996-10-29 21:26 ` f2c and 4-byte integers Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1996-10-29 22:31 Michael J. Donahue
1996-10-30  4:22 ed bristol
1996-10-30 14:19 Matthew X Economou
1996-10-30 16:20 Matthew X Economou
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