Hello dear OpenBSD fans.

I am trying to compile a C program (Numerical Electromagnetics Code,
NEC, for antenna modelling) that needs complex numbers. I compiled it
with gcc on Linux with no special problems. It is an originaly fortran
written  program that nowadays is translated into C for convenience.

I used to work with "complex.h" header file on Linux, but I have not
been able to find the complex.h file on OpenBSD.

In OpenBSD, I see that (as said in "info gcc") things like:

_Complex float variable_name;
__real__ variable;
__imag__ variable;

work perfectly.

Do you know where can I get the complex.h file, or please can you point
me in the right direction? I am puzzled now.

Thanks in advance

Ramiro.
EA1ABZ.

Reply via email to