Re: Can fio be compiled as a static binary?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux