This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


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

Re: {Patch] java.net network functions



> Hello list,
> I have commited the attached patch to include/ and java/net/ to move
> needed network functions to a central place.

> I decided to move them into the existing posix.h and win32.h headers.

> These functions will now be used in java.nio native code too.

> In the future I plan to add some more complex functions with
> prototypes in these headers. Should the implementations of these
> functions be in [posic|win32].cc or somewhere else ?

This has broken an arm-elf cross-build again :-(


/work/rearnsha/gnu/egcs/gcc/xgcc -shared-libgcc -B/work/rearnsha/gnu/egcs/g
cc/ -nostdinc++ -L/work/rearnsha/gnu/egcs/arm-elf/thumb/libstdc++-v3/src 
-L/work/rearnsha/gnu/egcs/arm-elf/thumb/libstdc++-v3/src/.libs -nostdinc 
-B/work/rearnsha/gnu/egcs/arm-elf/thumb/newlib/ -isystem 
/work/rearnsha/gnu/egcs/arm-elf/thumb/newlib/targ-include -isystem 
/home/rearnsha/gnusrc/egcs-cross/newlib/libc/include 
-B/work/rearnsha/gnu/install/arm-elf/bin/ -B/work/rearnsha/gnu/install/arm-
elf/lib/ -isystem /work/rearnsha/gnu/install/arm-elf/include 
-L/work/rearnsha/gnu/egcs/ld -mthumb -DHAVE_CONFIG_H -I. 
-I/home/rearnsha/gnusrc/egcs-cross/libjava -I./include -I./gcj 
-I/home/rearnsha/gnusrc/egcs-cross/libjava -Iinclude 
-I/home/rearnsha/gnusrc/egcs-cross/libjava/include 
-I/home/rearnsha/gnusrc/egcs-cross/libjava/../boehm-gc/include -DSILENT=1 
-DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 
-DNO_SIGSET=1 -DNO_DEBUGGING=1 -I/home/rearnsha/gnusrc/egcs-cross/libjava/.
././libjava/../gcc -I/home/rearnsha/gnusrc/egcs-cross/libjava/../zlib 
-fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum 
-I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFIX=\"/work/rearnsha/gnu/i
nstall\" -g -O2 -mthumb -Wp,-MD,.deps/jni.pp -c /home/rearnsha/gnusrc/egcs-
cross/libjava/jni.cc -o jni.o
In file included from /home/rearnsha/gnusrc/egcs-cross/libjava/prims.cc:12:
include/platform.h: In function `int _Jv_socket(int, int, int)':
include/platform.h:51: error: `::socket' undeclared (first use here)
include/platform.h: At global scope:

etc,




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