gcc/libjava
Mohan Embar 5c14415811 win32.cc: fixed tab...
* win32.cc: fixed tab, indentation and whitespace
	inconsistencies
	removed jvm.h include
	added includes java/lang/UnsupportedOperationException.h,
	java/io/IOException.h, java/net/SocketException.h
	(WSAEventWrapper): class implementation
	(_Jv_WinStrError): implemented both overloads
	(_Jv_ThrowIOException): implemented both overloads
	(_Jv_ThrowSocketException): implemented both overloads
	(_Jv_select): implemented
	* include/win32.h: fixed tab, indentation and whitespace
	inconsistencies
	wrapped <windows.h> include with  #define WIN32_LEAN_AND_MEAN
	added jvm.h include
	(WSAEventWrapper): added class declaration
	(_Jv_WinStrError): added both overload declarations
	(_Jv_ThrowIOException): added both overload declarations
	(_Jv_ThrowSocketException): added both overload declarations
	removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
	(_Jv_select): added declaration
	(_Jv_socket): removed
	(_Jv_connect): removed
	(_Jv_close): removed
	(_Jv_bind): removed
	(_Jv_accept): removed
	(_Jv_listen): removed
	(_Jv_write): removed
	(_Jv_read): removed
	* java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	replaced <windows.h> #include with <platform.h>
	removed jvm.h include
	(testCanUseGetHandleInfo): new function which tests whether Win32
	GetHandleInformation() call can be used with console buffer handles
	(only supported on >=WinNT 5.0)
	(winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
	(valid): rewrote implementation using GetHandleInformation()
	(sync): 	changed exception throwing to use error string and exception
	helper methods declared in include/win32.h
	(open): likewise
	(write): likewise
	(setLength): likewise
	(close): likewise
	(seek): likewise
	(getFilePointer): likewise
	(read): likewise
	* java/io/natFileWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	replaced <windows.h> #include with <platform.h>
	removed jvm.h include
	(_access): use JV_TEMP_UTF_STRING
	(_stat): likewise
	(performMkDir): use JV_TEMP_UTF_STRING
	(performRenameTo): likewise
	(performDelete): likewise
	(performCreate): likewise
	(performSetReadOnly): likewise
	(performSetLastModified): likewise
	* java/lang/natWin32Process.cc: fixed tab, indentation and
	whitespace inconsistencies
	replaced <windows.h> #include with <platform.h>
	removed includes gcj/cni.h, jvm.h
	(new_string): removed
	(startProcess): use JV_TEMP_UTF_STRING,
	changed exception throwing to use error string and exception
	helper methods declared in include/win32.h
	* java/net/natInetAddressWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	replaced <windows.h> #include with <platform.h>
	removed jvm.h include
	removed DISABLE_JAVA_NET conditional code
	removed POSIX conditional code not relevant to Win32
	(aton): use JV_TEMP_UTF_STRING
	removed POSIX conditional code not relevant to Win32
	(lookup): likewise
	(getLocalHostName): likewise
	* java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	removed unnecessary windows.h, winsock.h and gcj/cni.h includes
	removed DISABLE_JAVA_NET conditional code
	removed POSIX conditional code not relevant to Win32
	(winsock2GetRealNetworkInterfaces): new function to compute network
	interfaces via Winsock2 API
	(determineGetRealNetworkInterfacesFN): new function for returning
	a function pointer to the function used to compute network interfaces.
	(getRealNetworkInterfaces): implemented
	* java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	removed gcj/cni.h include
	removed DISABLE_JAVA_NET conditional code
	removed POSIX conditional code not relevant to Win32
	changed net POSIXisms to Win32isms
	replaced _Jv socket-related calls with their real Win32 equivalents
	changed exception throwing to use error string and exception
	helper methods declared in include/win32.h
	(peekData): implemented timeout support
	(receive): likewise
	* java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
	whitespace inconsistencies
	removed gcj/cni.h and gcj/javaprims.h includes
	removed DISABLE_JAVA_NET conditional code
	removed POSIX conditional code not relevant to Win32
	changed net POSIXisms to Win32isms
	replaced _Jv socket-related calls with their real Win32
	equivalents
	changed exception throwing to use error string and exception
	helper methods declared in include/win32.h
	(throwConnectException): helper function for connect()
	(connect): implemented timeout support
	(accept): likewise
	(doRead): new helper function common to both read() method overloads,
	includes timeout support
	(read): implemented both overloads in terms of doRead()
	(available): implemented using ioctlsocket()

From-SVN: r70904
2003-08-29 04:21:01 +00:00
..
doc except.c (choose_personality_routine): Export. 2001-05-13 01:28:18 +00:00
gcj Makefile.am (gtk_awt_peer_sources): Add gnu/java/awt/peer/GLightweightPeer.java. 2003-08-21 18:39:56 +00:00
gnu Makefile.in: Rebuilt. 2003-08-28 22:17:37 +00:00
include win32.cc: fixed tab... 2003-08-29 04:21:01 +00:00
java win32.cc: fixed tab... 2003-08-29 04:21:01 +00:00
javax Acl.java: Fix broken p tag. 2003-08-26 22:42:37 +00:00
jni GdkGraphics.java (drawString): Pass font name, not XLFD, to native drawString. 2003-08-22 20:33:50 +00:00
libltdl configure.in: Set INCLUDES to absolute path. 2003-08-07 21:34:19 +00:00
org Makefile.am (ordinary_java_source_files): Add org/xml/sax/helpers/NewInstance.java. 2002-12-20 03:49:20 +00:00
scripts javaprims.h: Updated. 2002-12-30 22:42:20 +00:00
sysdep locks.h: Include ia64intrin.h. 2003-03-22 17:38:00 -08:00
testsuite re PR libgcj/8823 (gij doesn't handle "Miranda methods" (abstract class that implements interface but doesn't define all methods)) 2003-08-23 07:31:36 +02:00
COPYING COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes... 2000-12-18 09:12:19 +00:00
ChangeLog win32.cc: fixed tab... 2003-08-29 04:21:01 +00:00
ChangeLog-1999 Rotated ChangeLogs 2000-02-17 22:57:30 +00:00
ChangeLog-2001 ChangeLog rotation 2002-01-22 00:20:23 +00:00
HACKING * HACKING: Fix URL for the automake-gcj. 2002-02-08 01:22:47 +00:00
LIBGCJ_LICENSE Add license clarification. 2002-01-22 22:40:42 +00:00
Makefile.am Makefile.am: Fixed problems with parallel makes. 2003-08-29 03:11:02 +00:00
Makefile.in Makefile.am: Fixed problems with parallel makes. 2003-08-29 03:11:02 +00:00
NEWS Updated the NEWS 2000-02-15 09:35:51 +00:00
README gcj.texi: Change sources.redhat.com reference to gcc.gnu.org. 2001-02-08 01:49:53 +00:00
THANKS THANKS: Fix punctuation, alphabetization. 2002-03-15 22:36:05 +00:00
acconfig.h configure.in: Check for usleep declaration. 2003-07-07 14:11:09 +00:00
acinclude.m4 acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD. 2003-08-06 12:19:45 +09:30
aclocal.m4 acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD. 2003-08-06 12:19:45 +09:30
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'. 2003-07-23 15:08:07 +00:00
configure configure.in: Fix detection of gcj when building with newlib. 2003-08-21 13:25:46 +00:00
configure.host configure.host: Use -fcheck-references and -fuse-divide-subroutine for MinGW until we fix... 2003-07-27 04:11:55 +00:00
configure.in configure.in: Fix detection of gcj when building with newlib. 2003-08-21 13:25:46 +00:00
defineclass.cc defineclass.cc (handleField): Throw exception if field name is duplicated. 2003-07-29 17:12:54 +00:00
exception.cc [multiple changes] 2003-08-20 17:27:56 +00:00
gij.cc * gij.cc (help): Document -? and -X. 2003-08-13 17:20:08 +00:00
glib-2.0.m4 glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
gtk-2.0.m4 glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
interpret.cc defineclass.cc (handleMethodsEnd): Precompute code for static method. 2003-01-24 19:58:21 +00:00
jni.cc jni.cc: Replace "cheating" pointer-casting code with extract_from_jvalue<> template. 2003-08-20 19:37:21 +00:00
libart.m4 libart.m4: check for libart-config binary under the name libart2-config as well. 2003-08-04 18:27:27 +00:00
libgcj-test.spec.in * libgcj.spec.in, libgcj-test.spec.in: Revert for now. 2002-03-31 18:24:59 +00:00
libgcj.pc.in 2003-07-09 Michael Koch <konqueror@gmx.de> 2003-07-09 07:11:13 +00:00
libgcj.spec.in configure.host (alpha*-*): Default to -mieee. 2003-02-13 02:51:26 +00:00
libtool-version * libtool-version: Increased `current'. 2002-12-20 01:47:54 +00:00
mauve-libgcj * mauve-libgcj: Don't run CollationElementIterator tests. 2003-07-19 22:19:56 +00:00
no-threads.cc natFinalizerThread.cc: New file. 2001-10-10 22:25:43 +00:00
nogc.cc nogc.cc: Remove warnings. 2002-01-27 22:33:35 +00:00
posix-threads.cc posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined. 2003-03-02 01:24:40 +00:00
posix.cc posix.cc: added #include<stdio.h> 2003-07-08 04:49:16 +00:00
prims.cc prims.cc (unblock_signal): New function. 2003-08-20 14:32:16 +00:00
resolve.cc Runtime.java: Comment fix. 2003-07-21 01:54:06 +00:00
verify.cc For PR libgcj/7482: 2003-07-24 17:18:00 +00:00
win32-threads.cc re PR java/9254 (java::lang::Object::wait(), threads-win32.cc returns wrong return codes) 2003-01-28 22:23:36 +00:00
win32.cc win32.cc: fixed tab... 2003-08-29 04:21:01 +00:00

README

This is libgcj: the runtime library for gcj, the GNU Compiler for Java. 
libgcj provides a partial implementation of the Java Class Libraries.

libgcj is free software.  See the file LIBGCJ_LICENSE for copying permission.


DOCUMENTATION
=============

All documentation, including detailed installation and usage instructions,
can be found on the gcj web pages at this URL:

		http://gcc.gnu.org/java/


REQUIREMENTS
============

libgcj must be built with a compatible version of the gcc compiler. libgcj
releases are usually numbered according to their corresponding gcc release.
For example, if this is "libgcj 2.95.3", you need to build it using "gcc
2.95.3".


QUICK INSTALLATION
==================

  > mkdir build
  > cd build
  > ../libgcj/configure --enable-threads=<THREADS_TYPE> --prefix=<DIR>
  > make
  > make install

where:

<THREADS_TYPE> specifies the threads library to be used by libgcj. Currently 
the possible values are "posix" and "none". This value must be the same as
the value used when configuring gcc itself.

<DIR> specifies the installation directory. This should be the same location 
as where gcc is installed.

Consult the gcj web pages for additional "configure" arguments.

NOTE: libgcj can not be built in the same directory as `configure'. You must 
create a separate build directory. 


BUGS
====

Please submit bug reports via this URL:

	http://gcc.gnu.org/cgi-bin/gnatsweb.pl?database=gcc