On 04.10.2010 14:20, Carl-Daniel Hailfinger wrote: > I noticed that chipset_enable.c has #define _LARGEFILE64_SOURCE but it > does not perform any open/seek, whereas other files (especially > physmap.c) have no indication of large file support, yet they do use > open/seek. > Looking at the code history this seems to be an accident. > > What's the correct way to get large file support, and do we need it at all? > Image files will probably stay smaller than 16 MB, so I see no real > problems there, but MSR support and physmap support may need this. >
Segher said the following compiler flags work for him: -DLARGE_FILES -D_FILE_OFFSET_BITS=64 On the net I also found the following: -D_LARGE_FILES -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE Regards, Carl-Daniel -- http://www.hailfinger.org/ _______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
