gcc/libjava
Michael Koch c3e0633cc3 2002-11-21 Michael Koch <konqueror@gmx.de>
* include/posix.h
       (_Jv_socket): New method.
       (_Jv_connect): New method.
       (_Jv_close): New method.
       (_Jv_platform_close_on_exec): Prefixed system function with "::".
       (_Jv_bind): New method.
       (_Jv_listen): New method.
       (_Jv_write): New method.
       (_Jv_read): New method.
       * include/win32.h
       (_Jv_socket): New method.
       (_Jv_connect): New method.
       (_Jv_close): New method.
       (_Jv_bind): New method.
       (_Jv_listen): New method.
       (_Jv_write): New method.
       (_Jv_read): New method.
       * java/net/natNetworkInterface.cc:
       Include platform.h, removed inclusion of socket.h
       (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
       ::close() by _Jv_close().
       * java/net/natPlainDatagramSocketImpl.cc:
       Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
       added some new lines to make code more readable.
       (create): Replaced ::socket() by _Jv_socket().
       (close): Replaced NATIVE_CLOSE() by _Jv_close().
       * java/net/natPlainSocketImpl.cc:
       Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
       removed include of socket.h, removed some windows defines
       (now in include/win32.h).
       (create): Replaced ::socket() by _Jv_socket().
       (close): Replaced NATIVE_CLOSE() by _Jv_close().
       (write): Replaced ::read by _Jv_write().
       (read): Replaced ::read by _Jv_read().

From-SVN: r59338
2002-11-21 10:08:03 +00:00
..
doc except.c (choose_personality_routine): Export. 2001-05-13 01:28:18 +00:00
gcj cvsignore: New file to ignore files generated during build. 2002-10-10 05:21:53 +00:00
gnu ByteBufferImpl.java, [...]: New files. 2002-11-18 13:56:59 +00:00
include 2002-11-21 Michael Koch <konqueror@gmx.de> 2002-11-21 10:08:03 +00:00
java 2002-11-21 Michael Koch <konqueror@gmx.de> 2002-11-21 10:08:03 +00:00
javax Externalizable.java, [...]: New versions from Classpath. 2002-11-10 22:06:49 +00:00
libltdl * .cvsignore: Remove files that are present in CVS. 2002-04-28 18:41:51 +00:00
org HACKING, [...]: Fix spelling errors. 2001-10-31 00:48:17 +00:00
scripts unicode-decomp.pl: Move from chartables.pl... 2002-03-06 18:54:45 +00:00
sysdep configure.host [s390*-*]: Enable Java interpreter. 2002-10-08 14:57:37 +00:00
testsuite * libjava.jacks/jacks.exp: New file. 2002-11-06 01:02:19 +00: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 2002-11-21 Michael Koch <konqueror@gmx.de> 2002-11-21 10:08:03 +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 (ordinary_java_source_files): Added java/nio/channels/FileChannel.java. 2002-11-20 21:19:26 +00:00
Makefile.in Makefile.am (ordinary_java_source_files): Added java/nio/channels/FileChannel.java. 2002-11-20 21:19:26 +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 natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing. 2002-08-29 18:05:15 +00:00
acinclude.m4 Makefile.in: Allow for PWDCMD to override hardcoded pwd. 2002-05-16 17:43:21 +00:00
aclocal.m4 aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added 2002-10-21 01:50:14 +00:00
addr2name.awk Jumbo patch: 2000-05-19 17:55:34 +00:00
boehm.cc boehm.cc (_Jv_MarkObj): Don't fail if class object has been allocated but not initialized. 2002-09-25 20:14:37 +00:00
configure * configure: Regenerated with new libtool.m4. 2002-11-20 16:19:18 +01:00
configure.host configure.host [s390*-*]: Enable Java interpreter. 2002-10-08 14:57:37 +00:00
configure.in configure.in: Disable hash sync when not using threads. 2002-10-29 23:03:17 +00:00
defineclass.cc * java/lang/natClassLoader.cc: 2002-09-25 20:57:03 +00:00
exception.cc exception.cc (abort): added static modifier 2002-04-06 04:19:10 +00:00
gij.cc natRuntime.cc (_Jv_SetDLLSearchPath): New function. 2002-10-25 03:28:00 +00:00
interpret.cc interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long temporary to implement insn_iushr shifts. 2002-10-08 18:12:42 +00:00
jni.cc jni.h: Add missing JNICALL and JNIEXPORT attributes to function and function pointer... 2002-11-19 21:23:28 +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.spec.in * libgcj.spec.in, libgcj-test.spec.in: Revert for now. 2002-03-31 18:24:59 +00:00
libtool-version Makefile.am: Make target library a convenience library. 2002-03-17 00:35:21 +00:00
mauve-libgcj * mauve-libgcj: Enable Mauve tests that compile now. 2002-10-13 11:10:27 +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 (_Jv_ThreadSelf_out_of_line): Use write_barrier, not release_set. 2002-03-21 00:26:46 +00:00
posix.cc natSystem.cc (init_properties): Call new function _Jv_platform_initProperties. 2002-04-07 12:27:00 +01:00
prims.cc For PR java/8415: 2002-11-02 21:33:30 +00:00
resolve.cc resolve.cc (METHOD_NOT_THERE, [...]): Remove. 2002-11-04 02:45:31 +00:00
verify.cc verify.cc (branch_prepass): Updated for change to exception handler type. 2002-06-24 20:38:47 +00:00
win32-threads.cc win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new 2002-02-25 02:01:29 +00:00
win32.cc win32.cc, win32.cc (backtrace): Added this function because Win32 does not supply it. 2002-04-24 01:33:19 +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