From: ed bristol <ebristol@flash.net>
Subject: Re: f2c and 4-byte integers
Date: Tue, 29 Oct 1996 20:22:38 -0800 [thread overview]
Message-ID: <409ccce83a7f28f0bc5e7cc10cf93366.axp-list@archive.invalid> (raw)
Michal Jaegermann wrote:
>
> >
> > Sorry if I'm overlooking something obvious, but how do I get f2c to
> > map INTEGER*4 to 4-byte integers on Linux/AXP?
>
> This is broken. I was posting in the past on the topic but without
> a trace of a comment from anybody. It may, or may not, have also
> an impact on a performance. AFAIK nobody was doing testing.
>
> Why exectly you need that? There are some workarounds.
>
> >
> > >From the f2c man page:
>
> I am afraid that the manpage does not correspond to the current
> reality, although obviously it should.
>
> >
> > Also, f2c.h has
> >
> > typedef long int integer;
> > typedef short int shortint;
>
> This was likely done so things will compile under MS-DOS and is definitely
> incorrect for Linux/AXP. Note that if you change that then f2c libraries
> will need to be recompiled and if they recompile cleanly and correctly
> remains to be seen. If you have around some other object files/libraries
> they will become incompatible with whatever you will compile with a
> "new" f2c. This will make you also out-of-sync with Red Hat rpm system,
> which means that the next update will likely clobber your efforts if
> you are not careful.
>
> I run into the problem in the past when trying to port 'vg' graphics
> library, written in Fortran and C, to Linux/AXP. I did the port
> but it required some hacks.
>
> I did not try to pursue f2c issues as personally for me they are not
> really relevant and I do not have an easy access to Linux/AXP at the
> moment. Still this should be fixed but I did not notice any interest
> in that in the past.
>
> Michal
>
> --
> To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
unsubscribe
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
next reply other threads:[~1996-10-30 4:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-30 4:22 ed bristol [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-10-30 16:20 f2c and 4-byte integers Matthew X Economou
1996-10-30 14:19 Matthew X Economou
1996-10-29 22:31 Michael J. Donahue
1996-10-29 16:33 Michael J. Donahue
1996-10-29 21:26 ` Michal Jaegermann
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