delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/10/02:05:46

> 
> One of my subsidiary problems is that f2c does not recognize IAND() and
> IOR() as instrinsic (build in functions), while it understands AND() and
> OR(). Thus the program I convert with f2c has to be different from the program
> I compile with f77 on HP9000, on SUN, on VAX.

IAND, IOR are no f77 intrinsic functions by the ANSI X.3 f77 standard.
Thus f2c doesn't support them. You can of course easily supply
the functions by adding them 

int iand_( int *i1, int *i2) 
{
    return *i1 & *i2 ;
}


> 
> Question: do you know a means to convince f2c that the built-in functions
> are alled IAND IOR (etc.). Thanks.

See above.
> 
> D. Taupin
> 

--Chris  Christoph P. U. Kukulies    kuku AT acds DOT physik DOT rwth-aachen DOT de	 
FreeBSD 1.1.5(RELEASE) (GILMULTICAST) #0: Mon Aug 15 13:10:28 MET DST 1994

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019