Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Comments

rootpool/Makefile : support building both x86 and x86_64 versions of the rootpool helper#5

Open
jimklimov wants to merge 1 commit intoalhazred:masterfrom
jimklimov:rootpool-bits
Open

rootpool/Makefile : support building both x86 and x86_64 versions of the rootpool helper#5
jimklimov wants to merge 1 commit intoalhazred:masterfrom
jimklimov:rootpool-bits

Conversation

@jimklimov
Copy link

@jimklimov jimklimov commented Dec 12, 2016

Just in case :-)

$ make
mkdir -p i86pc
gcc -Wall -m32 -o i86pc/rootpool rootpool.c -lzfs -lnvpair
mkdir -p amd64
gcc -Wall -m64 -o amd64/rootpool rootpool.c -lzfs -lnvpair

$ file */*
amd64/rootpool: ELF 64-bit LSB executable, x86-64, version 1, dynamically linked, interpreter /usr/lib/amd64/ld.so.1, not stripped
i86pc/rootpool: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked, interpreter /usr/lib/ld.so.1, not stripped

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant