This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

s-oscons technique does not work for RTEMS


Hi,

As I warned in http://gcc.gnu.org/ml/gcc/2008-07/msg00387.html,
the new technique for generating s-oscons.ads does not work
for RTEMS.  The OS .h files are not available when the compiler
is built -- only those strictly owned by the newlib C library.

As indicated by this from the build log, you have neither
termios nor network .h files available when the compiler
is built.

checking for ANSI C header files... In file included from s-oscons-tmplt.c:95:
gsocket.h:160:24: error: sys/socket.h: No such file or directory
gsocket.h:161:24: error: netinet/in.h: No such file or directory
gsocket.h:162:25: error: netinet/tcp.h: No such file or directory
gsocket.h:163:23: error: sys/ioctl.h: No such file or directory
gsocket.h:164:19: error: netdb.h: No such file or directory
In file included from s-oscons-tmplt.c:102:
/home/joel/work-gnat/svn/gcc/newlib/libc/include/termios.h:4:25: error: sys/termios.h: No such file or directory
yes
checking for sys/types.h... s-oscons-tmplt.c: In function 'main':
s-oscons-tmplt.c:1096: error: invalid application of 'sizeof' to incomplete type 'struct sockaddr_in'


Is there an alternative way to generate s-oscons?

--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]