• 3 Posts
  • 15 Comments
Joined 2 months ago
cake
Cake day: February 20th, 2025

help-circle


  • On Linux installation is done through a series of scripts and vtoycli. I haven’t worked on that yet, but there’s build scripts there that should do the trick, but since they build it for multiple architectures, you’ll have to run just the stuff for your arch (probably x86_64).

    sth like:

    cd vtoycli/fat_io_lib/release
    gcc -specs "/usr/local/musl/lib/musl-gcc.specs" -O2 -D_FILE_OFFSET_BITS=64 fat*.c -c
    ar -rc libfat_io_64.a *.o
    cd ../..
    gcc -specs "/usr/local/musl/lib/musl-gcc.specs" -Os -static -D_FILE_OFFSET_BITS=64 -Ifat_io_lib/include fat_io_lib/lib/libfat_io_64.a *.c -o vtoycli_64
    # Optional
    strip --strip-all vtoycli_64