unidiff version of the last patch I submitted
Richard Earnshaw
rearnsha@arm.com
Mon Jul 29 08:19:00 GMT 2002
> java/io/natFileDescriptor.cc: In member function `void
> java::io::FileDescriptor::setLength(__java_long)':
> java/io/natFileDescriptor.cc:220: error: `::ftruncate' undeclared (first
> use
> here)
Right, the problem here is that most newlib targets don't provide
ftruncate (the only exceptions are linux, go32 and rtems AFAICT).
However, we aren't seeing this on the regression tester because neither of
the targets using newlib (mips-elf and powerpc-eabisim) are building
libjava; and of course the native build isn't using newlib.
R.
More information about the Java-patches
mailing list