From Martin Maechler <maechler@stat.math.ethz.ch>  Wed Mar 15 14:08:41 2000
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Wed, 15 Mar 2000 15:08:41 +0100 (MET)
Subject: [Rd] headers needed in gcc
In-Reply-To: <38CF9094.EEE7BEEC@univie.ac.at>
References: <38CF9094.EEE7BEEC@univie.ac.at>
Message-ID: <14543.39273.545539.516566@lynne.ethz.ch>

>>>>> "Erich" == Erich Neuwirth <erich.neuwirth@univie.ac.at> writes:

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

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

    Erich> #include "sock.h"
well, "sock.h"  (as the `"' suggests) is a local file, 
in this case, it's in the same directory as the *.c file which includes it.
 
    Erich> as far as i understand my system,
    Erich> these header files shpuld be in
    Erich> /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include

Well, I think to remember that for gcc under Solaris,
it looks *BOTH* in
   /usr/local/lib/gcc-lib/sparc..../<version>/include
AND
   /usr/include/

i.e. /usr/include/sys/  and /usr/include/netinet/  may contain your
headers..
Otherwise, try

    cd /usr/include
    find . -name types.h
    find . -name tcp.h

etc.

Martin
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] headers needed in gcc
Martin Maechler