diff options
author | Joel Sherrill <joel@gcc.gnu.org> | 2010-04-13 19:41:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel@gcc.gnu.org> | 2010-04-13 19:41:05 +0000 |
commit | 014edf49f89501a29ce992a62507a704a00c74dd (patch) | |
tree | bc14704bbad7ff12e456ff197c106a7815c4519d | |
parent | 1ce18dc875969f68667f6849f832f5383ea2e4e1 (diff) | |
download | gcc-014edf49f89501a29ce992a62507a704a00c74dd.zip gcc-014edf49f89501a29ce992a62507a704a00c74dd.tar.gz gcc-014edf49f89501a29ce992a62507a704a00c74dd.tar.bz2 |
gsocket.h: Run-time can no longer be built without network OS headers available.
2010-04-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* gsocket.h: Run-time can no longer be built without network
OS headers available. Changing RTEMS GNAT build procedure to
reflect this and letting run-time build use network .h files.
From-SVN: r158279
-rw-r--r-- | gcc/ada/gsocket.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gcc/ada/gsocket.h b/gcc/ada/gsocket.h index 24928a1..ca016c9 100644 --- a/gcc/ada/gsocket.h +++ b/gcc/ada/gsocket.h @@ -6,7 +6,7 @@ * * * C Header File * * * - * Copyright (C) 2004-2009, Free Software Foundation, Inc. * + * Copyright (C) 2004-2010, Free Software Foundation, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -179,14 +179,13 @@ #endif /* - * RTEMS has these .h files but not until you have built RTEMS. When - * IN_RTS, you only have the .h files in the newlib C library. - * Because this file is also included from gen-soccon.c which is built - * to run on RTEMS (not IN_RTS), we must distinguish between IN_RTS - * and using this file to compile gen-soccon. + * RTEMS has these .h files but not until you have built and installed + * RTEMS. When building a C/C++ toolset, you also build the newlib C library. + * So the build procedure for an RTEMS GNAT toolset requires that + * you build a C/C++ toolset, then build and install RTEMS with + * --enable-multilib, and finally build the Ada part of the toolset. */ -#if !(defined (VMS) || defined (__MINGW32__) || \ - (defined(__rtems__) && defined(IN_RTS))) +#if !(defined (VMS) || defined (__MINGW32__)) #include <sys/socket.h> #include <netinet/in.h> #include <netinet/tcp.h> |