On Thu, May 31, 2001 at 09:26:37AM +0200, Akim Demaille wrote:
...
> It might be too early to debate about this, (I mean, before 2.51), but
> that's an interesting question. In addition some people seems to have
> problems with our using `main ()' in tests. A friend of mine uses
> Autoconf for PalmOS where `maint ()' is not to be called.
A side issue, but related(?): the "checking for Fortran 77 name-mangling
scheme" which fails for me (NetBSD-1.5V/i386, egcs-2.91.66) is probably
because:
/usr/lib/libg2c.so: undefined reference to `MAIN__'
Jason Beegan suggested adding
void
MAIN__(void)
{
abort();
}
to the fortran program defining the subroutine foobar() (which would then
be called from C as foobar_())
Cheers,
Patrick