From: Jens Axboe <axboe@kernel.dk>
To: Jeff Johnson <jeff.johnson@aeoncomputing.com>
Cc: fio@vger.kernel.org
Subject: Re: Can fio be compiled as a static binary?
Date: Wed, 12 Dec 2012 09:27:22 +0100 [thread overview]
Message-ID: <50C83FEA.5020306@kernel.dk> (raw)
In-Reply-To: <50C7DC7A.5000806@aeoncomputing.com>
On 2012-12-12 02:23, Jeff Johnson wrote:
> Greetings,
>
> Is there a way to compile fio as a static binary? I have to use it on
> different Linux machines from time to time and I'd like to not alter
> the OS image by installing libaio-devel, etc. In some cases I am not
> able to make any changes to the installed OS image.
>
> I performed a git checkout of fio and I wanted to ask if there was an
> existing/known method to derive a static fio binary from the existing
> source tree before I make any modifications or attempts on my own.
There should be nothing preventing a static link of fio, provided that
you have the proper libs installed on the machine where you build and
link it. Should be doable with:
$ EXTFLAGS="-static" make
I have never tried it, though...
--
Jens Axboe
prev parent reply other threads:[~2012-12-12 8:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-12 1:23 Can fio be compiled as a static binary? Jeff Johnson
2012-12-12 8:27 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50C83FEA.5020306@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=jeff.johnson@aeoncomputing.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.