Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Loic Prylli <Loic.Prylli@ens-lyon.fr>
To: axp-list@redhat.com
Subject: Should axp integers be long int?..was: fmt.c line 95 segfaults
Date: Tue, 14 Apr 1998 13:50:12 +0200 (MET DST)	[thread overview]
Message-ID: <199804141150.NAA28240@gueuze.ens-lyon.fr> (raw)
In-Reply-To: <352E796C.2E282D27@bob.usuf2.usuhs.mil>


Robert Williams writes:
 > I see that integers are defined differently
 > for the libf2c runtime code by these two
 > versions.  My questions at this point are:
 > 1.  Should integers be "long int" on the alpha?
 > 2. How are pointers defined?
 > 
 > Here are the (different) typedefs for these two versions,
 > as created by "configure".
 > 
 > egcs-1.0.2
 > typedef int /* long int */ flag;
 > typedef int /* long int */ ftnlen;
 > typedef int /* long int */ ftnint;
 > 
 > egcs-980406
 > typedef long int /* long int */ flag;
 > typedef long int /* long int */ ftnlen;
 > typedef long int /* long int */ ftnint;
 > 

On my computer when building egcs-980406 this typedef are only ints, I
wonder what made the difference (I built as described in my previous
mail).



egcs-980406% grep -A5 -B5  "typedef.*ftnlen" obj/libraries/libf2c/f2c.h
 
#ifdef f2c_i2
#error "f2c_i2 will not work with g77!!!!"
/* for -i2 */
typedef short flag;
typedef short ftnlen;
typedef short ftnint;
#else
typedef int /* long int */ flag;
typedef int /* long int */ ftnlen;
typedef int /* long int */ ftnint;
#endif
 


Regards,

Loic


  parent reply	other threads:[~1998-04-14 11:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199803301732.MAA01231@melange.gnu.org>
1998-04-10 19:56 ` Should axp integers be long int?..was: fmt.c line 95 segfaults Robert Williams
1998-04-10 20:20   ` Michal Jaegermann
1998-04-11 10:52   ` Toon Moene
1998-04-14 11:50   ` Loic Prylli [this message]
1998-04-17  0:17 Craig Burley
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