Re: [hatari-devel] Problems with files greater 2 GiB

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Samstag, 28. Juni 2025 10:34:46 CEST Andreas Grabher wrote:

> I think this can be fixed by adding -D_FILE_OFFSET_BITS=64 somewhere,

> probably right before the check for large file support in Hatari?


Typically, that is too late. You have to define that (or -D_LARGEFILE_SOURCE) globally, before including any system header, because it affects also all file handling interfaces like lseek(), stat() etc.



But IIRC, Hatari already takes care of that.


Maybe you could build with "make VERBOSE=ON" so you can see the actual invocations of gcc.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/