freeipmi-devel
[Top][All Lists]
Advanced

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

Re: [Freeipmi-devel] HOW to build freeipmi commands with static librarie


From: Diego Elio Pettenò
Subject: Re: [Freeipmi-devel] HOW to build freeipmi commands with static libraries instead of shared libraries
Date: Fri, 15 Aug 2014 17:10:30 +0100

CFLAGS="-static" will not be useful.
LDFLAGS="-static" would be, but it'll also link in libc statically, and that might be overkill.

What you could do is ./configure --disable-shared so that it'll stop building the shared objects and so won't depend on them.

Diego Elio Pettenò — Flameeyes
address@hiddenhttp://blog.flameeyes.eu/


On 11 August 2014 21:55, Albert Chu <address@hidden> wrote:
Hi Martine,

Normally setting CFLAGS to "-static" should be enough, so when you run
configure ...

./configure CFLAGS="-static"

should do it.  There may be other ways too.

Al

On Mon, 2014-08-11 at 09:15 +0000, Martine Carannante wrote:
> Hi
>
>
>
> I would like to build freeipmi commands (ipmi-fru, ipmi-sensors …)
> with  the static libraries libfreeipmi.a, libipmidetect.a
>
> I haven’t found how to do that .
>
>
>
> Thanks in advance
>
> Best Regards
>
> Martine
>
>
>
>
> _______________________________________________
> Freeipmi-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/freeipmi-devel
--
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



_______________________________________________
Freeipmi-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/freeipmi-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]