WinNT egcs latest snapshot

Mumit Khan khan@xraylith.wisc.EDU
Wed Jun 30 15:43:00 GMT 1999


hpoulard@actia.fr writes:
> 
> 2/ BAD : The compilation process works well when I run configure
>    >  ./configure  --prefix=3D/Cygnus/cygwin-b20 
>       --exec-prefix=3D/Cygnus/cygwin-b20/H-i586-cygwin32 -v i586-cygwin3=
> 2
>    BUT when I try to build the compiler with another prefix (to be able=0D=
> 
>    to have a separate package) with
>    >  ./configure  --prefix=3D/cygnustmp
>       --exec-prefix=3D/Cygnus/cygwin-b20/H-i586-cygwin32 -v i586-cygwin3=
> 2
>    There are still problem during the building of the library (more
>    precisely the libiberty.a). The configuring process do not find
>    the standard include files (like stdio.h .....)
>    I tried several thing which has been said here in this mailing
>    list but the problem is still here ????

Expected. Cygwin folks put the standard headers and libraries in a 
different place. The only way to handle this is to mount the directories 
as /usr/include, /usr/lib etc from the Cygwin installation directories.

Cygwin list is a better place for this.

> 
> 3/ BAD : I tried now to compile the latest snapshot of ligcj 19990602=0D=
> 
>    And I have the following problem during the compilation =3D 
> 
> rm -f java/io/.libs/natFileDescriptor.lo
> c++ -DHAVE_CONFIG_H -I. -I../../../libjava -I./include -Iinclude 
> -I../../../libj
> ava/include -I../../../libjava/../boehm-gc -I./../boehm-gc -DSILENT=3D1 =
> 
> -DNO_SIGNA
> LS=3D1 -DNO_DEBUGGING=3D1 -DJAVA_FINALIZATION=3D1 
> -I../../../libjava/../compat-include
>  -I../../../libjava/../zlib -fno-rtti -fvtable-thunks -ffloat-store -W =0D=
> 
> -Wall -g
> -O2 -c  -DPIC java/io/natFileDescriptor.cc -o 
> java/io/.libs/natFileDescriptor.lo
> 
> java/io/natFileDescriptor.cc: In method `jint 
> java::io::FileDescriptor::availabl
> e()':
> java/io/natFileDescriptor.cc:256: implicit declaration of function `int =
> 
> select(.
> ..)'

You need to include the header that defines select. This should be easy
to fix! Make sure at the very least <sys/time.h> is included.

  #include <sys/time.h>
  #include <sys/types.h>
  #include <unistd.h>

should definitely do it. Again, not an egcs issue.

Regards,
Mumit



More information about the Gcc mailing list