X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QEWgCdaqxBa0wkcyKPug+fmNLmKKpDXzaYPVLKYCpps=; b=GAiEJHZmdW8d1a28j77hIWeM7vQYV3+IzbYeujoGLmkrSnwiC94TSzbMrBkU0ULu4x 8elqyGHRCI11Me2mNfpIAn8Tta9WimQE14JK/cqMc/QA7/r7MnXW9bEWXZlg6lIwibhK gE1G96OCwjmgZ8xq/qeOUmkmmPLgtdsXXCQgAL0hESwRUIvH2LKAlh7IUVKWhzMrCaqc C2B9YN6iwVAwgllIZKMKij61+rKQQy0FILYkqajK16kh2ksiUTTnM2LAreK3ArS61IgT J/mLrARJibO7z056M0WYnbmvHE1vcntc4Dw+NrTsI1AKEML5UZzY4sJGISet4ZoaSwrj V8XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QEWgCdaqxBa0wkcyKPug+fmNLmKKpDXzaYPVLKYCpps=; b=l4ciZxUYBGR56GcSUEMe2jDLgL1gNN0fqZgoKT4aTon1UjqSTBmSSAPiWt63L+XNUF VcMZ8E0h7njYm0I1TbsxSvx0ZA3K0CwpuACCrpJYOV+u4QgMaOoClmR5vnA2zmpygRWJ lIEG9yRsyQoWvVkWkjZei+WP6V/7PoUxMjJ6vVSnP4SzZdhUE/06Y8LM8YlrBvLoExfY xsGj81PX5vHD7zO+DSHliMOw9/lFs2cJ4xcYeZikmU+TVUV2xRDlwWfUswMmIOu7w4le L313y+SQL3xPAGqS8jbqImgA5zwlS5DahRRi7+XakPvX1LQL5Gbn6sFVJ7/97/fheQvd 8XSg== X-Gm-Message-State: AOAM530BqD1tTzippbOmA8XSBv8I+lQgZkCl/Kg0HXN/J5VBtREyEjhC 9+kQKvygZSO4J7uOqLpAZVAifT37A6kKN46bhZMghH6ofeA= X-Google-Smtp-Source: ABdhPJxSG73LgZhMuM5MebWK3/a7NPUB/yX/iqmwXLSlr75HEhHntDCTt/6r/crPeE4qpF8HoICfIscwmiZLZ4Ro6Vg= X-Received: by 2002:a2e:711:: with SMTP id 17mr2978314ljh.462.1597493790441; Sat, 15 Aug 2020 05:16:30 -0700 (PDT) MIME-Version: 1.0 From: "A. Wik (awik32 AT gmail DOT com) [via djgpp AT delorie DOT com]" Date: Sat, 15 Aug 2020 12:16:19 +0000 Message-ID: Subject: Large files? To: djgpp AT delorie DOT com Content-Type: text/plain; charset="UTF-8" Reply-To: djgpp AT delorie DOT com Hi all, Does DJGPP somehow support large files? I'm still working on building the Schily tools. This is an excerpt from its "configure" script -- it detects large file support: cat > conftest.$ac_ext < #include int main() { /* * Check that off_t can represent 2**63 - 1 correctly. * We can't simply "#define LARGE_OFF_T 9223372036854775807", * since some C++ compilers masquerading as C compilers * incorrectly reject 9223372036854775807. */ # define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; return !fseeko; return !ftello; ; return 0; } EOF if { { eval echo configure:21419: \"$ac_compile\" ;} 1>&5; { eval $ac_compile ;} 2>&5; }; then rm -rf conftest* ac_cv_largefiles=yes else ...