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: Cygwin port patches


 --- Tom Tromey <tromey@redhat.com> a écrit : > >>>>>
"Jerome" == Jerome Marc <marcjero@yahoo.com>
> writes:
> 
> Jerome> +#ifdef HAVE_SYS_IOCTL_H
> Jerome> +#define BSD_COMP
> Jerome> +#include <sys/ioctl.h>
> Jerome> +#endif
> 
> What does BSD_COMP do?
> Is this a Cygwin- or Windows-specific thing?

I don't think this line is really useful, I just get
this lines from natFileDescriptorPosix.cc
The fix is just for the ioctl function.

> 
> Jerome>  #elif HAVE_TIMEZONE
> Jerome>    // timezone is secs WEST of UTC.
> Jerome> +  #ifdef __CYGWIN__
> Jerome> +  tzoffset = _timezone;	
> Jerome> +  #elif
> Jerome>    tzoffset = timezone;	
> Jerome> +  #endif	
> 
> How can HAVE_TIMEZONE be set if the symbol is named
> _timezone?
> Is there a better way to get this information on
> Cygwin?

Well the symbol timezone exists in Cygwin but its type
is not "long". This is why configure finds it.
The symbol _timezone seems to be what we are looking
for.

> 
> Tom 

I'll post another fix later about "make install" :
there is trouble with .exe extensions while copying
libjava utilities.



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com


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