* Can fio be compiled as a static binary?
@ 2012-12-12 1:23 Jeff Johnson
2012-12-12 8:27 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2012-12-12 1:23 UTC (permalink / raw)
To: fio
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.
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can fio be compiled as a static binary?
2012-12-12 1:23 Can fio be compiled as a static binary? Jeff Johnson
@ 2012-12-12 8:27 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2012-12-12 8:27 UTC (permalink / raw)
To: Jeff Johnson; +Cc: fio
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-12 8:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 1:23 Can fio be compiled as a static binary? Jeff Johnson
2012-12-12 8:27 ` Jens Axboe
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.