classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Target native layer patches: SunOS, RTEMS, embOS, MinGW


From: Dr. Torsten Rupp
Subject: Target native layer patches: SunOS, RTEMS, embOS, MinGW
Date: Mon, 16 Aug 2004 10:48:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Dear Classpath-members,

as discussed please find below our target native layers for the following OSs:

- SunOS
- RTEMS
- embOS
- MinGW

Please take into account that these patches are only for people who like to see what aicas is currently using and what was/is the idea of the target native layer. It will _not_ be integrated like shown in the patches (please see discussion about this topic in the other messages). I'm currently preparing a "posix"-compliant layer which will replace the Linux and Solaris layers (as suggested by Michael).

Sincerely,

Torsten
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root MinGW/target_native.h MinGW-new/target_native.h
--- MinGW/target_native.h       Thu Jan  1 01:00:00 1970
+++ MinGW-new/target_native.h   Thu Apr  1 12:33:05 2004
@@ -0,0 +1,78 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: MinGW target global defintions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE__
+#define __TARGET_NATIVE__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic.h"
+
+#endif /* __TARGET_NATIVE__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root MinGW/target_native_file.h MinGW-new/target_native_file.h
--- MinGW/target_native_file.h  Thu Jan  1 01:00:00 1970
+++ MinGW-new/target_native_file.h      Thu Apr  1 12:33:00 2004
@@ -0,0 +1,101 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: MinGW target defintions of file functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_FILE__
+#define __TARGET_NATIVE_FILE__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+#include <sys/stat.h>
+#include <io.h>
+#include <windows.h>
+#include <winbase.h>
+
+#include "target_native.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+#define TARGET_NATIVE_FILE_FILEFLAG_SYNC  0
+#define TARGET_NATIVE_FILE_FILEFLAG_DSYNC 0
+
+#define TARGET_NATIVE_FILE_FILEPERMISSION_NORMAL (S_IRUSR | S_IWUSR)
+
+#define TARGET_NATIVE_FILE_FILEPERMISSION_PRIVATE (S_IRUSR | S_IWUSR)
+
+#define TARGET_NATIVE_FILE_FILEPERMISSION_READONLY (~(S_IWRITE))
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+#define TARGET_NATIVE_FILE_TRUNCATE(filedescriptor,offset,result) \
+  do { \
+    
result=(chsize(filedescriptor,offset)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; 
\
+  } while (0)
+
+#define TARGET_NATIVE_FILE_MAKE_DIR(name,result) \
+  do { \
+    result=((mkdir(name)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR); \
+  } while (0)
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_file.h"
+
+#endif /* __TARGET_NATIVE_FILE__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root MinGW/target_native_io.h MinGW-new/target_native_io.h
--- MinGW/target_native_io.h    Thu Jan  1 01:00:00 1970
+++ MinGW-new/target_native_io.h        Thu Jun 24 12:53:39 2004
@@ -0,0 +1,85 @@
+/* generic_math_int64.h - Native methods for 64bit math operations
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: MinGW target defintions of I/O functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_IO__
+#define __TARGET_NATIVE_IO__
+
+/* check if target_native_io.h included */
+#ifndef __TARGET_NATIVE_IO__
+  #error Do NOT INCLUDE generic target files! Include the corresponding native 
target files instead!
+#endif
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include "config.h"
+
+#include <stdlib.h>
+
+#include "target_native.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_io.h"
+
+#endif /* __TARGET_NATIVE_IO__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root MinGW/target_native_math_float.h 
MinGW-new/target_native_math_float.h
--- MinGW/target_native_math_float.h    Thu Jan  1 01:00:00 1970
+++ MinGW-new/target_native_math_float.h        Thu Apr  1 12:33:07 2004
@@ -0,0 +1,81 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: MinGW target defintions of float/double constants/
+             macros/functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MATH_FLOAT__
+#define __TARGET_NATIVE_MATH_FLOAT__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+#include "target_native.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_math_float.h"
+
+#endif /* __TARGET_NATIVE_MATH_FLOAT__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root MinGW/target_native_math_int.h MinGW-new/target_native_math_int.h
--- MinGW/target_native_math_int.h      Thu Jan  1 01:00:00 1970
+++ MinGW-new/target_native_math_int.h  Thu Apr  1 12:32:51 2004
@@ -0,0 +1,81 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: MinGW target defintions of int/int64 constants/
+             macros/functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MATH_INT__
+#define __TARGET_NATIVE_MATH_INT__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+#include "target_native.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_math_int.h"
+
+#endif /* __TARGET_NATIVE_MATH_INT__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root MinGW/target_native_memory.h MinGW-new/target_native_memory.h
--- MinGW/target_native_memory.h        Thu Jan  1 01:00:00 1970
+++ MinGW-new/target_native_memory.h    Thu Apr  1 12:27:13 2004
@@ -0,0 +1,78 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: MinGW target defintions of memory functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MEMORY__
+#define __TARGET_NATIVE_MEMORY__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_memory.h"
+
+#endif /* __TARGET_NATIVE_MEMORY__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root MinGW/target_native_misc.h MinGW-new/target_native_misc.h
--- MinGW/target_native_misc.h  Thu Jan  1 01:00:00 1970
+++ MinGW-new/target_native_misc.h      Thu Apr  1 12:32:55 2004
@@ -0,0 +1,80 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: MinGW target defintions of miscellaneous functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MISC__
+#define __TARGET_NATIVE_MISC__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+#include "target_native.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_misc.h"
+
+#endif /* __TARGET_NATIVE_MISC__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root MinGW/target_native_network.h MinGW-new/target_native_network.h
--- MinGW/target_native_network.h       Thu Jan  1 01:00:00 1970
+++ MinGW-new/target_native_network.h   Tue Apr 27 14:02:52 2004
@@ -0,0 +1,503 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: MinGW target defintions of network functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_NETWORK__
+#define __TARGET_NATIVE_NETWORK__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+#include <windows.h>
+#include <winbase.h>
+#include <winsock.h>
+
+#include "target_native.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/* Hint: target generic macros can not be used, because of completely
+   different header files and some different datatypes
+*/
+
+#define 
TARGET_NATIVE_NETWORK_GET_HOSTNAME_BY_ADDRESS(address,name,maxNameLen,result) \
+  do { \
+    int            __networkAddress; \
+    struct hostent *__hostEntry; \
+    \
+    __networkAddress=htonl(address); \
+    __hostEntry = 
gethostbyaddr((char*)&__networkAddress,sizeof(__networkAddress),AF_INET); \
+    if (__hostEntry!=NULL) \
+    { \
+      strncpy(name,__hostEntry->h_name,maxNameLen-1); \
+      name[maxNameLen]='\0'; \
+      result=TARGET_NATIVE_OK; \
+    } \
+    else \
+    { \
+      result=TARGET_NATIVE_ERROR; \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_GET_HOSTNAME_BY_NAME(name,addresses,maxAddressSize,addressCount,result)
 \
+  do { \
+    struct hostent *__hostEntry; \
+    \
+    addressCount = 0; \
+    __hostEntry = gethostbyname(name); \
+    if (__hostEntry != NULL) \
+    { \
+      while ((addressCount<maxAddressSize) && 
(__hostEntry->h_addr_list[addressCount]!=NULL)) \
+      { \
+        
addresses[addressCount]=ntohl(*(int*)(__hostEntry->h_addr_list[addressCount])); 
\
+        addressCount++; \
+      } \
+      result=TARGET_NATIVE_OK; \
+    } \
+    else \
+    { \
+        result=TARGET_NATIVE_ERROR; \
+    } \
+  } while (0)
+
+#define TARGET_NATIVE_NETWORK_SOCKET_OPEN_STREAM(socketDescriptor,result) \
+  do { \
+    SOCKET __socket; \
+    \
+    socketDescriptor = 0; \
+    \
+    __socket = socket(AF_INET,SOCK_STREAM,0); \
+    if (__socket != INVALID_SOCKET) \
+    { \
+      socketDescriptor = (int)__socket; \
+      result = TARGET_NATIVE_OK; \
+    } \
+    else \
+    { \
+      result = TARGET_NATIVE_ERROR; \
+    } \
+  } while (0)
+#define TARGET_NATIVE_NETWORK_SOCKET_OPEN_DATAGRAM(socketDescriptor,result) \
+  do { \
+    SOCKET __socket; \
+    \
+    socketDescriptor = 0; \
+    \
+    __socket = socket(AF_INET,SOCK_DGRAM,0); \
+    if (__socket != INVALID_SOCKET) \
+    { \
+      socketDescriptor = (int)__socket; \
+      result = TARGET_NATIVE_OK; \
+    } \
+    else \
+    { \
+      result = TARGET_NATIVE_ERROR; \
+    } \
+  } while (0)
+#define TARGET_NATIVE_NETWORK_SOCKET_CLOSE(socketDescriptor,result) \
+  do { \
+    
result=(closesocket(socketDescriptor)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; 
\
+  } while (0)
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_CONNECT(socketDescriptor,address,port,result) \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    \
+    memset(&__socketAddress,0,sizeof(__socketAddress)); \
+    __socketAddress.sin_family      = AF_INET; \
+    __socketAddress.sin_addr.s_addr = htonl(address); \
+    __socketAddress.sin_port        = htons(((short)port)); \
+    \
+    result=(connect(socketDescriptor,(const struct sockaddr 
FAR*)&__socketAddress,sizeof(__socketAddress))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR;
 \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_BIND(socketDescriptor,address,port,result) \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    \
+    memset(&__socketAddress,0,sizeof(__socketAddress)); \
+    __socketAddress.sin_family      = AF_INET; \
+    __socketAddress.sin_addr.s_addr = htonl(address); \
+    __socketAddress.sin_port        = htons(((short)port)); \
+    \
+    result=(bind(socketDescriptor,(const struct sockaddr 
FAR*)&__socketAddress,sizeof(__socketAddress))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR;
 \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_LISTEN(socketDescriptor,maxQueueLength,result) \
+  do { \
+    
result=(listen(socketDescriptor,maxQueueLength)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR;
 \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_ACCEPT(socketDescriptor,newSocketDescriptor,result)
 \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    int                __socketAddressLength; \
+    \
+    memset(&__socketAddress,0,sizeof(__socketAddress)); \
+    __socketAddressLength=sizeof(__socketAddress); \
+    newSocketDescriptor=accept(socketDescriptor,(struct sockaddr 
FAR*)&__socketAddress,&__socketAddressLength); \
+    
result=(newSocketDescriptor!=INVALID_SOCKET)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR;
 \
+  } while (0)
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_LOCAL_INFO(socketDescriptor,localAddress,localPort,result)
 \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    int                __socketAddressLength; \
+    \
+    localAddress=0; \
+    localPort   =0; \
+    \
+    __socketAddressLength=sizeof(__socketAddress); \
+    result=(getsockname(socketDescriptor,(struct sockaddr 
FAR*)&__socketAddress,&__socketAddressLength)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR;
 \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__socketAddressLength>=sizeof(__socketAddress)); \
+      localAddress=ntohl(__socketAddress.sin_addr.s_addr); \
+      localPort   =ntohs(__socketAddress.sin_port); \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_REMOTE_INFO(socketDescriptor,remoteAddress,remotePort,result)
 \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    int                __socketAddressLength; \
+    \
+    remoteAddress=0; \
+    remotePort   =0; \
+    \
+    __socketAddressLength=sizeof(__socketAddress); \
+    result=(getpeername(socketDescriptor,(struct 
sockaddr*)&__socketAddress,&__socketAddressLength)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR;
 \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__socketAddressLength>=sizeof(__socketAddress)); \
+      remoteAddress=ntohl(__socketAddress.sin_addr.s_addr); \
+      remotePort   =ntohs(__socketAddress.sin_port); \
+    } \
+  } while (0)
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_RECEIVE_AVAILABLE(socketDescriptor,bytesAvailable,result)
 \
+  do { \
+    u_long __value; \
+    \
+    bytesAvailable=0; \
+    \
+    
result=(ioctlsocket(socketDescriptor,FIONREAD,&__value)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR;
 \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      bytesAvailable=__value; \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_RECEIVE(socketDescriptor,buffer,maxLength,bytesReceived)
 \
+  do { \
+    bytesReceived=recv(socketDescriptor,buffer,maxLength,0); \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_RECEIVE_WITH_ADDRESS_PORT(socketDescriptor,buffer,maxLength,address,port,bytesReceived)
 \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    int                __socketAddressLength; \
+    \
+    port=0; \
+    \
+    memset(&__socketAddress,0,sizeof(__socketAddress)); \
+    __socketAddressLength=sizeof(__socketAddress); \
+    bytesReceived=recvfrom(socketDescriptor,buffer,maxLength,0,(struct 
sockaddr FAR*)&__socketAddress,&__socketAddressLength); \
+    if (__socketAddressLength==sizeof(__socketAddress)) \
+    { \
+      address=ntohl(__socketAddress.sin_addr.s_addr); \
+      port   =ntohs(__socketAddress.sin_port); \
+    } \
+  } while (0)
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SEND(socketDescriptor,buffer,length,bytesSent) \
+  do { \
+    bytesSent=send(socketDescriptor,buffer,length,0); \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SEND_WITH_ADDRESS_PORT(socketDescriptor,buffer,length,address,port,bytesSent)
 \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    \
+    memset(&__socketAddress,0,sizeof(__socketAddress)); \
+    __socketAddress.sin_family      = AF_INET; \
+    __socketAddress.sin_addr.s_addr = htonl(address); \
+    __socketAddress.sin_port        = htons((short)port); \
+    
bytesSent=sendto(socketDescriptor,buffer,length,0,&__socketAddress,sizeof(__socketAddress));
 \
+  } while (0)
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_TCP_NODELAY(socketDescriptor,flag,result)
 \
+  do { \
+    BOOL __value; \
+    \
+    __value=flag; \
+    result=(setsockopt(socketDescriptor,IPPROTO_TCP,TCP_NODELAY,(const char 
FAR*)&__value,sizeof(__value))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_LINGER(socketDescriptor,flag,value,result)
 \
+  do { \
+    struct linger __linger; \
+    \
+    memset(&__linger,0,sizeof(__linger)); \
+    if (flag) \
+    { \
+      __linger.l_onoff=0; \
+    } \
+    else \
+    { \
+      __linger.l_linger=value; \
+      __linger.l_onoff =1; \
+    } \
+    result=(setsockopt(socketDescriptor,SOL_SOCKET,SO_LINGER,(const char 
FAR*)&__linger,sizeof(__linger))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT(socketDescriptor,flag,result)
 \
+  do { \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_SNDBUF(socketDescriptor,size,result) 
\
+  do { \
+    int __value; \
+    \
+    __value=size; \
+    result=(setsockopt(socketDescriptor,SOL_SOCKET,SO_SNDBUF,(const char 
FAR*)&__value,sizeof(__value))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_RCDBUF(socketDescriptor,size,result) 
\
+  do { \
+    int __value; \
+    \
+    __value=size; \
+    result=(setsockopt(socketDescriptor,SOL_SOCKET,SO_RCVBUF,(const char 
FAR*)&__value,sizeof(__value))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_IP_TTL(socketDescriptor,value,result) \
+  do { \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_IP_MULTICAST_IF(socketDescriptor,address,result)
 \
+  do { \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_REUSE_ADDRESS(socketDescriptor,flag,result)
 \
+  do { \
+      BOOL __value; \
+      \
+      __value=flag; \
+      result=(setsockopt(socketDescriptor,SOL_SOCKET,SO_REUSEADDR,(const char 
FAR*)&__value,sizeof(__value))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_ADD_MEMBERSHIP(socketDescriptor,address,result)
 \
+  do { \
+    result = TARGET_NATIVE_ERROR; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_DROP_MEMBERSHIP(socketDescriptor,address,result)
 \
+  do { \
+    result = TARGET_NATIVE_ERROR; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_KEEP_ALIVE(socketDescriptor,flag,result)
 \
+  do { \
+    BOOL __value; \
+    \
+    __value=flag; \
+    result=(setsockopt(socketDescriptor,SOL_SOCKET,SO_KEEPALIVE,(const char 
FAR*)&__value,sizeof(__value))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_BROADCAST(socketDescriptor,flag,result) 
\
+  do { \
+    BOOL __value; \
+    \
+    __value=flag; \
+    result=(setsockopt(socketDescriptor,SOL_SOCKET,SO_BROADCAST,(const char 
FAR*)&__value,sizeof(__value))==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+  } while (0)
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_TCP_NODELAY(socketDescriptor,flag,result)
 \
+  do { \
+    BOOL __value; \
+    int  __len; \
+    \
+    flag=0; \
+    \
+    __len=sizeof(__value); \
+    result=(getsockopt(socketDescriptor,IPPROTO_TCP,TCP_NODELAY,(char 
FAR*)&__value,&__len)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__len>=sizeof(__value)); \
+      flag=__value; \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_SO_LINGER(socketDescriptor,flag,value,result)
 \
+  do { \
+    struct linger __linger; \
+    int           __len; \
+    \
+    flag =0; \
+    value=0; \
+    \
+    __len=sizeof(__linger); \
+    result=(getsockopt(socketDescriptor,SOL_SOCKET,SO_LINGER,(char 
FAR*)&__linger,&__len)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__len>=sizeof(__linger)); \
+      flag =__linger.l_onoff; \
+      value=__linger.l_linger; \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_SO_TIMEOUT(socketDescriptor,flag,result)
 \
+  do { \
+    flag = 0; \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_SO_SNDBUF(socketDescriptor,size,result) 
\
+  do { \
+    int __value; \
+    int __len; \
+    \
+    size=0; \
+    \
+    __len=sizeof(__value); \
+    result=(getsockopt(socketDescriptor,SOL_SOCKET,SO_SNDBUF,(char 
FAR*)&__value,&__len)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__len>=sizeof(__value)); \
+      size=__value; \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_SO_RCDBUF(socketDescriptor,size,result) 
\
+  do { \
+    int __value; \
+    int __len; \
+    \
+    size=0; \
+    \
+    __len=sizeof(__value); \
+    result=(getsockopt(socketDescriptor,SOL_SOCKET,SO_RCVBUF,(char 
FAR*)&__value,&__len)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__len>=sizeof(__value)); \
+      size=__value; \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_IP_TTL(socketDescriptor,flag,result) \
+  do { \
+    flag = 0; \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_IP_MULTICAST_IF(socketDescriptor,address,result)
 \
+  do { \
+    address = 0; \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_BIND_ADDRESS(socketDescriptor,address,result)
 \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    int                __socketAddressLength; \
+    \
+    address=0;\
+    \
+    memset(&__socketAddress,0,sizeof(__socketAddress)); \
+    __socketAddressLength=sizeof(__socketAddress); \
+    result=(getsockname(socketDescriptor,(struct 
sockaddr*)&__socketAddress,&__socketAddressLength)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR;
 \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__socketAddressLength>=sizeof(__socketAddress)); \
+      address=ntohl(__socketAddress.sin_addr.s_addr); \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_REUSE_ADDRESS(socketDescriptor,flag,result)
 \
+  do { \
+    BOOL __value; \
+    int  __len; \
+    \
+    flag=0; \
+    \
+    __len=sizeof(__value); \
+    result=(getsockopt(socketDescriptor,SOL_SOCKET,SO_REUSEADDR,(char 
FAR*)&__value,&__len)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__len>=sizeof(__value)); \
+      flag=__value; \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_KEEP_ALIVE(socketDescriptor,flag,result)
 \
+  do { \
+    BOOL __value; \
+    int  __len; \
+    \
+    flag=0; \
+    \
+    __len=sizeof(__value); \
+    result=(getsockopt(socketDescriptor,SOL_SOCKET,SO_KEEPALIVE,(char 
FAR*)&__value,&__len)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__len>=sizeof(__value)); \
+      flag=__value; \
+    } \
+  } while (0)
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_BROADCAST(socketDescriptor,flag,result) 
\
+  do { \
+    BOOL __value; \
+    int  __len; \
+    \
+    flag=0; \
+    \
+    __len=sizeof(__value); \
+    result=(getsockopt(socketDescriptor,SOL_SOCKET,SO_BROADCAST,(char 
FAR*)&__value,&__len)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+    if (result==TARGET_NATIVE_OK) \
+    { \
+      assert(__len>=sizeof(__value)); \
+      flag=__value; \
+    } \
+  } while (0)
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_network.h"
+
+#endif /* __TARGET_NATIVE_NETWORK__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root RTEMS/Makefile.am RTEMS-new/Makefile.am
--- RTEMS/Makefile.am   Thu Jan  1 01:00:00 1970
+++ RTEMS-new/Makefile.am       Fri Aug  6 15:51:03 2004
@@ -0,0 +1,11 @@
+## Input file for automake to generate the Makefile.in used by configure
+
+EXTRA_DIST = \
+target_native.h \
+target_native_file.h \
+target_native_io.h \
+target_native_math_float.h \
+target_native_math_int.h
+target_native_memory.h
+target_native_misc.h \
+target_native_network.h \
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root RTEMS/target_native.h RTEMS-new/target_native.h
--- RTEMS/target_native.h       Thu Jan  1 01:00:00 1970
+++ RTEMS-new/target_native.h   Fri Aug  6 15:51:23 2004
@@ -0,0 +1,79 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: RTEMS target global defintions
+Systems    : RTEMS
+*/
+
+#ifndef __TARGET_NATIVE__
+#define __TARGET_NATIVE__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic.h"
+
+#endif /* __TARGET_NATIVE__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root RTEMS/target_native_file.h RTEMS-new/target_native_file.h
--- RTEMS/target_native_file.h  Thu Jan  1 01:00:00 1970
+++ RTEMS-new/target_native_file.h      Fri Aug  6 16:04:40 2004
@@ -0,0 +1,79 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: RTEMS target defintions of file functions
+Systems    : RTEMS
+*/
+
+#ifndef __TARGET_NATIVE_FILE__
+#define __TARGET_NATIVE_FILE__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_file.h"
+
+#endif /* __TARGET_NATIVE_FILE__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root RTEMS/target_native_io.h RTEMS-new/target_native_io.h
--- RTEMS/target_native_io.h    Thu Jan  1 01:00:00 1970
+++ RTEMS-new/target_native_io.h        Fri Aug  6 15:51:23 2004
@@ -0,0 +1,78 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: RTEMS target defintions of miscellaneous functions
+Systems    : RTEMS
+*/
+
+#ifndef __TARGET_NATIVE_IO__
+#define __TARGET_NATIVE_IO__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_io.h"
+
+#endif /* __TARGET_NATIVE_MISC__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root RTEMS/target_native_math_float.h 
RTEMS-new/target_native_math_float.h
--- RTEMS/target_native_math_float.h    Thu Jan  1 01:00:00 1970
+++ RTEMS-new/target_native_math_float.h        Fri Aug  6 15:51:23 2004
@@ -0,0 +1,79 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: RTEMS target defintions of floating point functions
+Systems    : RTEMS
+*/
+
+#ifndef __TARGET_NATIVE_MATH_FLOAT__
+#define __TARGET_NATIVE_MATH_FLOAT__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_math_float.h"
+
+#endif /* __TARGET_NATIVE_MATH_FLOAT__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root RTEMS/target_native_math_int.h RTEMS-new/target_native_math_int.h
--- RTEMS/target_native_math_int.h      Thu Jan  1 01:00:00 1970
+++ RTEMS-new/target_native_math_int.h  Fri Aug  6 15:51:23 2004
@@ -0,0 +1,80 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: RTEMS target defintions of int/int64 constants/
+             macros/functions
+Systems    : RTEMS
+*/
+
+#ifndef __TARGET_NATIVE_MATH_INT__
+#define __TARGET_NATIVE_MATH_INT__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_math_int.h"
+
+#endif /* __TARGET_NATIVE_MATH_INT__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root RTEMS/target_native_memory.h RTEMS-new/target_native_memory.h
--- RTEMS/target_native_memory.h        Thu Jan  1 01:00:00 1970
+++ RTEMS-new/target_native_memory.h    Fri Aug  6 15:51:23 2004
@@ -0,0 +1,78 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: RTEMS target defintions of memory functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MEMORY__
+#define __TARGET_NATIVE_MEMORY__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_memory.h"
+
+#endif /* __TARGET_NATIVE_MEMORY__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root RTEMS/target_native_misc.h RTEMS-new/target_native_misc.h
--- RTEMS/target_native_misc.h  Thu Jan  1 01:00:00 1970
+++ RTEMS-new/target_native_misc.h      Fri Aug  6 16:04:05 2004
@@ -0,0 +1,87 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: RTEMS target defintions of miscellaneous functions
+Systems    : RTEMS
+*/
+
+#ifndef __TARGET_NATIVE_MISC__
+#define __TARGET_NATIVE_MISC__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+// NYI
+#define TARGET_NATIVE_MISC_GET_TIMEZONE_STRING(string,maxStringLength,result) \
+  do { \
+    result = TARGET_NATIVE_ERROR; \
+  } while (0)
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_misc.h"
+
+#endif /* __TARGET_NATIVE_MISC__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root RTEMS/target_native_network.h RTEMS-new/target_native_network.h
--- RTEMS/target_native_network.h       Thu Jan  1 01:00:00 1970
+++ RTEMS-new/target_native_network.h   Fri Aug  6 16:02:53 2004
@@ -0,0 +1,97 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: RTEMS target defintions of network functions
+Systems    : RTEMS
+
+*/
+
+#ifndef __TARGET_NATIVE_NETWORK__
+#define __TARGET_NATIVE_NETWORK__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+#include <sys/socket.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SEND(socketDescriptor,buffer,length,bytesSent) \
+  do { \
+    bytesSent = send(socketDescriptor,buffer,length,0); \
+  } while (0)
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SEND_WITH_ADDRESS_PORT(socketDescriptor,buffer,length,address,port,bytesSent)
 \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    \
+    memset(&__socketAddress,0,sizeof(__socketAddress)); \
+    __socketAddress.sin_family      = AF_INET; \
+    __socketAddress.sin_addr.s_addr = htonl(address); \
+    __socketAddress.sin_port        = htons((short)port); \
+    bytesSent = sendto(socketDescriptor,buffer,length,0,(struct 
sockaddr*)&__socketAddress,sizeof(__socketAddress)); \
+  } while (0)
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_network.h"
+
+#endif /* __TARGET_NATIVE_NETWORK__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root SunOS/Makefile.am SunOS-new/Makefile.am
--- SunOS/Makefile.am   Thu Jan  1 01:00:00 1970
+++ SunOS-new/Makefile.am       Fri Aug  6 15:49:40 2004
@@ -0,0 +1,11 @@
+## Input file for automake to generate the Makefile.in used by configure
+
+EXTRA_DIST = \
+target_native.h \
+target_native_file.h \
+target_native_io.h \
+target_native_math_float.h \
+target_native_math_int.h
+target_native_memory.h
+target_native_misc.h \
+target_native_network.h \
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root SunOS/target_native.h SunOS-new/target_native.h
--- SunOS/target_native.h       Thu Jan  1 01:00:00 1970
+++ SunOS-new/target_native.h   Tue Aug  3 14:13:23 2004
@@ -0,0 +1,78 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: SunOS/Solaris target global defintions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE__
+#define __TARGET_NATIVE__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic.h"
+
+#endif /* __TARGET_NATIVE__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root SunOS/target_native_file.h SunOS-new/target_native_file.h
--- SunOS/target_native_file.h  Thu Jan  1 01:00:00 1970
+++ SunOS-new/target_native_file.h      Tue Aug  3 14:13:23 2004
@@ -0,0 +1,79 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: Linux target defintions of file functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_FILE__
+#define __TARGET_NATIVE_FILE__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_file.h"
+
+#endif /* __TARGET_NATIVE_FILE__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root SunOS/target_native_io.h SunOS-new/target_native_io.h
--- SunOS/target_native_io.h    Thu Jan  1 01:00:00 1970
+++ SunOS-new/target_native_io.h        Tue Aug  3 14:13:23 2004
@@ -0,0 +1,80 @@
+/* generic_math_int64.h - Native methods for 64bit math operations
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: SunOS/Solaris target defintions of I/O functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_IO__
+#define __TARGET_NATIVE_IO__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include "config.h"
+
+#include <stdlib.h>
+
+#include "target_native.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_io.h"
+
+#endif /* __TARGET_NATIVE_IO__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root SunOS/target_native_math_float.h 
SunOS-new/target_native_math_float.h
--- SunOS/target_native_math_float.h    Thu Jan  1 01:00:00 1970
+++ SunOS-new/target_native_math_float.h        Fri Aug  6 15:59:36 2004
@@ -0,0 +1,90 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: Linux target defintions of float/double constants/
+             macros/functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MATH_FLOAT__
+#define __TARGET_NATIVE_MATH_FLOAT__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+// NYI ??? correct?
+#define TARGET_NATIVE_MATH_FLOAT_FLOAT_ISINF(f) (((f)==1.0/0.0) || 
((f)==-1.0/0.0))
+#define TARGET_NATIVE_MATH_FLOAT_FLOAT_POS_ISINF(f) ((f)==1.0/0.0)
+#define TARGET_NATIVE_MATH_FLOAT_FLOAT_NEG_ISINF(f) ((f)==-1.0/0.0)
+
+// NYI ??? correct?
+#define TARGET_NATIVE_MATH_FLOAT_DOUBLE_ISINF(d) (((d)==1.0/0.0) || 
((d)==-1.0/0.0))
+#define TARGET_NATIVE_MATH_FLOAT_DOUBLE_POS_ISINF(d) ((d)==1.0/0.0)
+#define TARGET_NATIVE_MATH_FLOAT_DOUBLE_NEG_ISINF(d) ((d)==-1.0/0.0)
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_math_float.h"
+
+#endif /* __TARGET_NATIVE_MATH_FLOAT__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root SunOS/target_native_math_int.h SunOS-new/target_native_math_int.h
--- SunOS/target_native_math_int.h      Thu Jan  1 01:00:00 1970
+++ SunOS-new/target_native_math_int.h  Tue Aug  3 14:13:23 2004
@@ -0,0 +1,80 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: Linux target defintions of int/int64 constants/
+             macros/functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MATH_INT__
+#define __TARGET_NATIVE_MATH_INT__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_math_int.h"
+
+#endif /* __TARGET_NATIVE_MATH_INT__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root SunOS/target_native_memory.h SunOS-new/target_native_memory.h
--- SunOS/target_native_memory.h        Thu Jan  1 01:00:00 1970
+++ SunOS-new/target_native_memory.h    Tue Aug  3 14:13:23 2004
@@ -0,0 +1,78 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: SunOS/Solaris target defintions of memory functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MEMORY__
+#define __TARGET_NATIVE_MEMORY__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_memory.h"
+
+#endif /* __TARGET_NATIVE_MEMORY__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root SunOS/target_native_misc.h SunOS-new/target_native_misc.h
--- SunOS/target_native_misc.h  Thu Jan  1 01:00:00 1970
+++ SunOS-new/target_native_misc.h      Tue Aug  3 14:13:24 2004
@@ -0,0 +1,79 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: Linux target defintions of miscellaneous functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MISC__
+#define __TARGET_NATIVE_MISC__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_misc.h"
+
+#endif /* __TARGET_NATIVE_MISC__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root SunOS/target_native_network.h SunOS-new/target_native_network.h
--- SunOS/target_native_network.h       Thu Jan  1 01:00:00 1970
+++ SunOS-new/target_native_network.h   Fri Aug  6 15:58:57 2004
@@ -0,0 +1,227 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: SunOS/Solaris target defintions of network functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_NETWORK__
+#define __TARGET_NATIVE_NETWORK__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+#include <netdb.h>
+#include <stropts.h>
+#include <sys/conf.h>
+#include <netinet/in_systm.h>
+#include <sys/ioctl.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***********************************************************************\
+* Name       : TARGET_NATIVE_NETWORK_GET_HOSTNAME_BY_NAME
+* Purpose    : get hostname by name
+* Input      : name           - hostname
+*              maxAddressSize - max. size of address array
+* Output     : addresses    - host addresses (array, in host byte
+*                             order!)
+*              addressCount - number of entries in address array
+*              result       - TARGET_NATIVE_OK if no error occurred,
+*                             TARGET_NATIVE_ERROR otherwise
+* Return     : -
+* Side-effect: unknown
+* Notes      : -
+\***********************************************************************/
+
+#define 
TARGET_NATIVE_NETWORK_GET_HOSTNAME_BY_NAME(name,addresses,maxAddressSize,addressCount,result)
 \
+  do { \
+    struct hostent __hostEntry; \
+    char           __buffer[5000]; \
+    int            __h_errno; \
+    \
+    addressCount = 0; \
+    \
+    if (gethostbyname_r(name, &__hostEntry, __buffer, sizeof(__buffer), 
&__h_errno) != NULL) \
+      { \
+        while ((addressCount < maxAddressSize) && 
(__hostEntry.h_addr_list[addressCount] != NULL)) \
+          { \
+            addresses[addressCount] = 
ntohl(*(int*)(__hostEntry.h_addr_list[addressCount])); \
+            addressCount++; \
+          } \
+        result = TARGET_NATIVE_OK; \
+      } \
+    else \
+      { \
+        result = TARGET_NATIVE_ERROR; \
+      } \
+  } while (0)
+
+/***********************************************************************\
+* Name       : TARGET_NATIVE_NETWORK_SOCKET_RECEIVE_AVAILABLE
+* Purpose    : get number of available bytes for receive
+* Input      : socketDescriptor - socket descriptor
+* Output     : bytesAvailable - available bytes for receive
+*            : result         - TARGET_NATIVE_OK if no error occurred,
+*                               TARGET_NATIVE_ERROR otherwise
+* Return     : -
+* Side-effect: unknown
+* Notes      : -
+\***********************************************************************/
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_RECEIVE_AVAILABLE(socketDescriptor,bytesAvailable,result)
 \
+  do { \
+    int __value; \
+    \
+    bytesAvailable=0; \
+    result = (ioctl(socketDescriptor, I_NREAD, &__value) == 
0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+    if (result == TARGET_NATIVE_OK) \
+    { \
+      bytesAvailable = __value; \
+    } \
+  } while (0)
+
+/***********************************************************************\
+* Name       : TARGET_NATIVE_NETWORK_SOCKET_SEND
+* Purpose    : send data to socket
+* Input      : socketDescriptor - socket descriptor
+*            : buffer  - data to send
+*              length  - length of data to send
+* Output     : bytesSent - number of bytes sent, -1 otherwise
+* Side-effect: unknown
+* Notes      : -
+\***********************************************************************/
+
+#define TARGET_NATIVE_NETWORK_SOCKET_SEND(socketDescriptor, buffer, length, 
bytesSent) \
+  do { \
+    bytesSent = send(socketDescriptor, \
+                     buffer, \
+                     length, \
+                     0 /* MSG_NOSIGNAL not supported by Solaris */ \
+                    ); \
+  } while (0)
+
+/***********************************************************************\
+* Name       : TARGET_NATIVE_NETWORK_SOCKET_SEND_WITH_ADDRESS_PORT
+* Purpose    : send data to socket
+* Input      : socketDescriptor - socket descriptor
+*            : buffer  - data to send
+*              length  - length of data to send
+*              Address - to address (NOT in network byte order!)
+*              Port    - to port (NOT in network byte order!)
+* Output     : bytesSent - number of bytes sent, -1 otherwise
+* Side-effect: unknown
+* Notes      : -
+\***********************************************************************/
+
+#define TARGET_NATIVE_NETWORK_SOCKET_SEND_WITH_ADDRESS_PORT(socketDescriptor, 
buffer, length, address, port, bytesSent) \
+  do { \
+    struct sockaddr_in __socketAddress; \
+    \
+    memset(&__socketAddress,0,sizeof(__socketAddress)); \
+    __socketAddress.sin_family      = AF_INET; \
+    __socketAddress.sin_addr.s_addr = htonl(address); \
+    __socketAddress.sin_port        = htons((short)port); \
+    bytesSent = sendto(socketDescriptor, \
+                       buffer, \
+                       length, \
+                      0 /* MSG_NOSIGNAL not supported by solaris */, \
+                      (struct sockaddr*)&__socketAddress, \
+                      sizeof(__socketAddress) \
+                      ); \
+  } while (0)
+
+/***********************************************************************\
+* Name       : TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT
+* Purpose    : set socket option SO_TIMEOUT
+* Input      : socketDescriptor - socket descriptor
+*              flag             - 1 or 0
+* Output     : result - TARGET_NATIVE_OK
+* Return     : -
+* Side-effect: unknown
+* Notes      : SO_TIMEOUT not available under Solaris
+\***********************************************************************/
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_SET_OPTION_SO_TIMEOUT(socketDescriptor,flag,result)
 \
+  do { \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+
+/***********************************************************************\
+* Name       : TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_SO_TIMEOUT
+* Purpose    : get socket option SO_TIMEOUT
+* Input      : socketDescriptor - socket descriptor
+* Output     : flag   - 1 or 0
+*              result - TARGET_NATIVE_OK
+* Return     : -
+* Side-effect: unknown
+* Notes      : SO_TIMEOUT not available under Solaris
+\***********************************************************************/
+
+#define 
TARGET_NATIVE_NETWORK_SOCKET_GET_OPTION_SO_TIMEOUT(socketDescriptor,flag,result)
 \
+  do { \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_network.h"
+
+#endif /* __TARGET_NATIVE_NETWORK__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/Makefile.am embOS-new/Makefile.am
--- embOS/Makefile.am   Thu Jan  1 01:00:00 1970
+++ embOS-new/Makefile.am       Fri Aug  6 16:35:21 2004
@@ -0,0 +1,11 @@
+## Input file for automake to generate the Makefile.in used by configure
+
+EXTRA_DIST = \
+target_native.h \
+target_native_file.h \
+target_native_io.h \
+target_native_math_float.h \
+target_native_math_int.h
+target_native_memory.h
+target_native_misc.h \
+target_native_network.h \
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/target_native.h embOS-new/target_native.h
--- embOS/target_native.h       Thu Jan  1 01:00:00 1970
+++ embOS-new/target_native.h   Fri Aug  6 16:31:36 2004
@@ -0,0 +1,78 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: embOS target global defintions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE__
+#define __TARGET_NATIVE__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic.h"
+
+#endif /* __TARGET_NATIVE__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/target_native_file.h embOS-new/target_native_file.h
--- embOS/target_native_file.h  Thu Jan  1 01:00:00 1970
+++ embOS-new/target_native_file.h      Fri Aug  6 16:31:36 2004
@@ -0,0 +1,123 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: embOS target defintions of file functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_FILE__
+#define __TARGET_NATIVE_FILE__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+#include "filsystypedef.h"
+/* can not be used, because of collisions with stdio.h: #include 
"functionConverter.h" */
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+#define TARGET_NATIVE_FILE_OPEN_READ(filename,filedescriptor,result) \
+  do  { \
+    FFFILE *__fileHandle; \
+    \
+    __fileHandle = IOF_fopen(filename,"r"); \
+    if (__fileHandle != NULL) \
+    { \
+      filedescriptor = (int)(__fileHandle); \
+      result = TARGET_NATIVE_OK; \
+    } \
+    else \
+    { \
+      result = TARGET_NATIVE_ERROR; \
+    } \
+ } while (0)
+
+#define TARGET_NATIVE_FILE_CLOSE(filedescriptor,result) \
+  do  { \
+    FFFILE *__fileHandle; \
+    \
+    __fileHandle = (FFFILE*)filedescriptor; \
+    result = 
(IOF_fclose(__fileHandle)==0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+ } while (0)
+
+#define TARGET_NATIVE_FILE_SIZE(filedescriptor,length,result) \
+  do { \
+    FFFILE *__fileHandle; \
+    \
+    __fileHandle = (FFFILE*)filedescriptor; \
+    length = IOF_flengthOpened(__fileHandle); \
+    result = (length >= 0)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+  } while (0)
+
+#define TARGET_NATIVE_FILE_READ(filedescriptor,buffer,length,bytesRead,result) 
\
+  do { \
+    FFFILE *__fileHandle; \
+    \
+    __fileHandle = (FFFILE*)filedescriptor; \
+    bytesRead = IOF_fread(__fileHandle,buffer,length); \
+    result = (bytesRead!=-1)?TARGET_NATIVE_OK:TARGET_NATIVE_ERROR; \
+  } while (0)
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_file.h"
+
+#endif /* __TARGET_NATIVE_FILE__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/target_native_io.c embOS-new/target_native_io.c
--- embOS/target_native_io.c    Thu Jan  1 01:00:00 1970
+++ embOS-new/target_native_io.c        Fri Aug  6 16:33:13 2004
@@ -0,0 +1,122 @@
+/* generic_math_int64.h - Native methods for 64bit math operations
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: embOS target defintions of I/O-functions
+Systems    : all
+*/
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include "config.h"
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <stdarg.h>
+#include <assert.h>
+
+#include "target_native.h"
+
+#include "target_native_io.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int JamaicaNativeembOS_print(const char *buffer, int length)
+{
+  static char tmpBuffer[512];
+  int         z1,z2;
+
+  assert(buffer!=NULL);
+
+  /* convert \n -> \r\n */
+  z1=0;
+  z2=0;
+  while ((z1<length) && (z2<sizeof(tmpBuffer)-2))
+  {
+    if (buffer[z1]=='\n')
+    {
+      tmpBuffer[z2]='\r';z2++;
+    }
+    tmpBuffer[z2]=buffer[z1];;
+    z1++;
+    z2++;
+  }
+  tmpBuffer[z2]='\0';
+
+  /* output */
+  tx_putstr(2,tmpBuffer);
+
+  return z2;
+}
+
+int JamaicaNativeembOS_printf(const char *format, ...)
+{
+  va_list arguments;
+  int     n;
+
+  assert(format!=NULL);
+
+  /* format string */
+  va_start(arguments,format);
+  n = vsnprintf(buffer,sizeof(buffer),format,arguments);
+  va_end(arguments);
+
+  /* output */
+  n = JamaicaNativeembOS_print(buffer,n);
+
+  return(n);
+}
+
+#ifdef __cplusplus
+}
+#endif
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/target_native_io.h embOS-new/target_native_io.h
--- embOS/target_native_io.h    Thu Jan  1 01:00:00 1970
+++ embOS-new/target_native_io.h        Fri Aug  6 16:31:36 2004
@@ -0,0 +1,117 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: embOS target defintions of miscellaneous functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_IO__
+#define __TARGET_NATIVE_IO__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+#include <stdarg.h>
+
+#include "platform/comm/async_nativeserialport.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+#define TARGET_NATIVE_IO_PRINT \
+ JamaicaNativeembOS_printf
+#define TARGET_NATIVE_IO_PRINT_ERROR \
+  JamaicaNativeembOS_printf
+
+#define TARGET_NATIVE_IO_READ_STDIN(buffer,length,bytesRead,result) \
+  do { \
+    bytesRead = 0; \
+    result = TARGET_NATIVE_ERROR; \
+  } while(0)
+
+// NYI ??? buffer length?
+#define TARGET_NATIVE_IO_WRITE_STDOUT(buffer,length,bytesWritten,result) \
+  do { \
+    bytesWritten = JamaicaNativeembOS_print(buffer,length); \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+#define TARGET_NATIVE_IO_WRITE_STDERR(buffer,length,bytesWritten,result) \
+  do { \
+    bytesWritten = JamaicaNativeembOS_print(buffer,length); \
+    result = TARGET_NATIVE_OK; \
+  } while (0)
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** print string (convert LF -> CRLF)
+ * @param buffer string
+ * @param length length
+ * @return number of characters printed
+ */
+int JamaicaNativeembOS_print(const char *buffer, int length);
+
+/** print formated string to stdout
+ * @param format format string
+ * @return number of characters printed
+ */
+int JamaicaNativeembOS_printf(const char *format, ...);
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_io.h"
+
+#endif /* __TARGET_NATIVE_MISC__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/target_native_math_float.h 
embOS-new/target_native_math_float.h
--- embOS/target_native_math_float.h    Thu Jan  1 01:00:00 1970
+++ embOS-new/target_native_math_float.h        Fri Aug  6 16:31:36 2004
@@ -0,0 +1,80 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: embOS target defintions of float/double constants/
+             macros/functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MATH_FLOAT__
+#define __TARGET_NATIVE_MATH_FLOAT__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_math_float.h"
+
+#endif /* __TARGET_NATIVE_MATH_FLOAT__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/target_native_math_int.h embOS-new/target_native_math_int.h
--- embOS/target_native_math_int.h      Thu Jan  1 01:00:00 1970
+++ embOS-new/target_native_math_int.h  Fri Aug  6 16:31:36 2004
@@ -0,0 +1,80 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: embOS target defintions of int/int64 constants/
+             macros/functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MATH_INT__
+#define __TARGET_NATIVE_MATH_INT__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_math_int.h"
+
+#endif /* __TARGET_NATIVE_MATH_INT__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/target_native_memory.h embOS-new/target_native_memory.h
--- embOS/target_native_memory.h        Thu Jan  1 01:00:00 1970
+++ embOS-new/target_native_memory.h    Fri Aug  6 16:31:36 2004
@@ -0,0 +1,78 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: embOS target defintions of memory functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MEMORY__
+#define __TARGET_NATIVE_MEMORY__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_memory.h"
+
+#endif /* __TARGET_NATIVE_MEMORY__ */
+
+/* end of file */
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/target_native_misc.h embOS-new/target_native_misc.h
--- embOS/target_native_misc.h  Thu Jan  1 01:00:00 1970
+++ embOS-new/target_native_misc.h      Fri Aug  6 16:31:36 2004
@@ -0,0 +1,84 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: embOS target defintions of miscellaneous functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_MISC__
+#define __TARGET_NATIVE_MISC__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+#define TARGET_NATIVE_MISC_GET_TIMEZONE_STRING(string,maxStringLength,result) \
+  do { \
+    string[0]='\0'; \
+  } while (0)
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_misc.h"
+
+#endif /* __TARGET_NATIVE_MISC__ */
+
+/* end of file */
+
diff -ruN --exclude='.*' --exclude='Entries*' --exclude=Repository 
--exclude=Root embOS/target_native_network.h embOS-new/target_native_network.h
--- embOS/target_native_network.h       Thu Jan  1 01:00:00 1970
+++ embOS-new/target_native_network.h   Fri Aug  6 16:31:36 2004
@@ -0,0 +1,80 @@
+/* ???.h - ???
+   Copyright (C) 1998 Free Software Foundation, Inc.
+
+This file is part of GNU Classpath.
+
+GNU Classpath is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+GNU Classpath is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Classpath; see the file COPYING.  If not, write to the
+Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 USA.
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library.  Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module.  An independent module is a module which is not derived from
+or based on this library.  If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so.  If you do not wish to do so, delete this
+exception statement from your version. */
+
+/*
+Description: embOS target defintions of network functions
+Systems    : all
+*/
+
+#ifndef __TARGET_NATIVE_NETWORK__
+#define __TARGET_NATIVE_NETWORK__
+
+/****************************** Includes *******************************/
+/* do not move; needed here because of some macro definitions */
+#include <config.h>
+
+#include <stdlib.h>
+
+#include "target_native.h"
+
+/****************** Conditional compilation switches *******************/
+
+/***************************** Constants *******************************/
+
+/***************************** Datatypes *******************************/
+
+/***************************** Variables *******************************/
+
+/****************************** Macros *********************************/
+
+/***************************** Functions *******************************/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+/* include rest of definitions from generic file (do not move it to 
+   another position!) */
+#include "target_generic_network.h"
+
+#endif /* __TARGET_NATIVE_NETWORK__ */
+
+/* end of file */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]