[Rd] headers needed in gcc

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Fri, 17 Mar 2000 08:32:01 +0100


>>>>> Erich Neuwirth writes:

> i am working my way to create a stdin-stdout version of R
> i am not a gcc configuration expert.
> currently, i am missing

> #include <sys/types.h>
> #  include <sys/socket.h>
> #  include <netinet/in.h>
> #  include <netinet/tcp.h>
> #include "sock.h"

> as far as i understand my system, these header files shpuld be in
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include

> what library do i have to create in gcc to get these goodies?

I don't know whether the header files ``should'' be in gcc-lib (in which
case gcc should also find them), but the code definitely needs some
help.  I don't think that sys/socket.h or netinet/*.h are ANSI C, and
this is all we assume.  We should have AC_CONFIG_HEADER tests for each
of these, and not have sockets if the headers cannot be found.

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._