Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 576 Bytes

File metadata and controls

25 lines (24 loc) · 576 Bytes

libfile

File library for checking types and architecture.

How to compile libfile?

First, lets install some packages:

For Debian/Ubuntu:

sudo apt install gcc make binutils

For Arch:

pacman -S gcc make binutils

Now while you are in the folder:

chmod +x configure # Make it executable
./configure 
make # Compile it

Tip

You can use "./configure ARCH=" to change the architecture of the compiled library. Example:

./configure ARCH=i386 # Compile it for x86
./configure ARCH=amd64 # Compile it for x64