Re: files > 2G under Solaris
- From: Pavel Roskin <proski gnu org>
- To: Maksym Polyakov <polyama yahoo com>
- Cc: <mc gnome org>
- Subject: Re: files > 2G under Solaris
- Date: Mon, 25 Jun 2001 18:03:57 -0400 (EDT)
Unfortunately, simply adding AC_SYS_LARGEFILE to configure.in doesn't work
(RedHat Linux 7.1, i686) - I'm getting the same error "File XXX exists but
can not be stat-ed"
I'll try to fix it - if it works for me I'll make a snapshot for testing.
I'm still not sure if largefile support is good for everybody. Maybe I'll
fix AC_SYS_LARGEFILE so that it can be off by default.
Fixed! The problem was with some VFS sources doing bad things with
config.h
This file should always be included before system includes. Otherwise,
some of the definitions (in this case _FILE_OFFSET_BITS) in it won't have
any effect.
Considering possible compatibility issues and performance on low-end
systems (i386, i486sx) I decided not to enable large file support by
default, but now it should be easy to enable it.
Please take the latest snapshot from http://www.red-bean.com/~proski/mc/
and compile it with the following commands:
./configure CFLAGS="-g -D_FILE_OFFSET_BITS=64 -Wall"
make
Please report the results.
--
Regards,
Pavel Roskin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]