This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin 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: HEADSUP everyone: 32/64bit changes are commited


Corinna Vinschen wrote:
> 
> On Mon, Mar 10, 2003 at 11:05:14AM -0500, Pierre A. Humblet wrote:
> > Corinna Vinschen wrote:
> > >
> > > I've now rebuild from scratch multiple times and IWFM.  Details?
> > >
> > Everything is fine until actually building the dll, where it complains
> > about fopen64.
> > Indeed nm doesn't show fopen64 in libc.a.  Did you build on Windows?
> 
> Yes.  Are you actually using the latest from CVS (plus my patches from today)?

Not from today. I only compile at home in the evening.

> Please check that newlib/configure.host contains
> 
>   case "${host}" in
>     *-*-cygwin*)
>           [...]
>           stdio64_dir=stdio64
>           ;;
Yes, I saw it last night.
 
> and newlib/libc/include/sys/config.h contains
> 
>   #if defined(__CYGWIN32__) || defined(__CYGWIN__)
>   [...]
>   #define __LARGE64_FILES 1
>   #define __CYGWIN_USE_BIG_TYPES__ 1

Yes, I think it's there. However the files in stdio64 don't seem to pull it in.
When I forced __LARGE64_FILES [by manually editing Makefile, just to see :( ]
nm showed fopen64 in libc.a but I got errors about open64_r not existing
when building the dll . 
   
> and *especially* check that the directory newlib/libc/stdio64 exists.

Thanks. I have been burned already.

Pierre


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