Coder Social home page Coder Social logo

Large file support on 32-bits about pixz HOT 7 CLOSED

vasi avatar vasi commented on July 20, 2024
Large file support on 32-bits

from pixz.

Comments (7)

vasi avatar vasi commented on July 20, 2024

Maybe fseeko64() instead?

from pixz.

mrjones69 avatar mrjones69 commented on July 20, 2024

I work with a large file (~7GB compressed) on 32-bit Linux.
Had to add -D_FILE_OFFSET_BITS=64 to MYCFLAGS in the Makefile.

from pixz.

wookietreiber avatar wookietreiber commented on July 20, 2024

@mrjones69 I just added a GNU autotools build process, which uses the autoconf macro AC_SYS_LARGEFILE. Would you please pull from current master, build the project (see README.md for instructions)? The macro should add these flags on 32-bit architectures automatically. Would you please verify this?

from pixz.

mrjones69 avatar mrjones69 commented on July 20, 2024

Confirmed using Fedora 22 i686 image.
The autoconf set __FILE_OFFSET_BITS to 64 in config.h.

Thanks!

On 8/7/2015 5:20 AM, Christian Krause wrote:

@mrjones69 https://github.com/mrjones69 I just added a GNU autotools
build process, which uses the autoconf macro |AC_SYS_LARGEFILE|. Would
you please pull from current master, build the project (see README.md
for instructions)? The macro should add these flags on 32-bit
architectures automatically. Would you please verify this?


Reply to this email directly or view it on GitHub
#26 (comment).

from pixz.

wookietreiber avatar wookietreiber commented on July 20, 2024

@mrjones69 have you also tried to compress / decompress such a large file?

from pixz.

mrjones69 avatar mrjones69 commented on July 20, 2024

Yes and sorry for the delayed response.
I kept messing up my VM before I could get to the actual test. :)

My test file is a 7GB .pxz archive that contains (among lesser files)
one 23GB file.
This was created on another system using a 64-bit compile of the
previously released version of pixz.

I was able to successfully decompress this archive on the 32-bit Fedora
22 system using the latest pixz code.
Then using just the 23GB file as input, I compressed and decompressed it
successfully using the 32-bit pixz.

Thank you for your efforts on this excellent little program!

On 8/9/2015 6:04 AM, Christian Krause wrote:

Have you also tried to compress / decompress such a large file?


Reply to this email directly or view it on GitHub
#26 (comment).

from pixz.

wookietreiber avatar wookietreiber commented on July 20, 2024

Great. I will close this issue now.

from pixz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.