Re: Impossible static linking of libode

"Bram Stolk" <[email protected]> Tue, 23 Oct 2007 14:49:29 -0700
Newsgroups gmane.comp.lib.ode
Message-ID <[email protected]>
Just put the libode.a on the linker cmd line.
That is what I do.

But I agree with you that:

g++ -o foo foo.o `ode-config --libs`

should work

  bram



On 10/23/07, Ivan M <[email protected]> wrote:
>
> Hi,
> I have been trying to compile/linking statically the libode several
> days and I don't guess it.
> I compile/installed ode in my Ubuntu with the --enable-static option,
> and I have 2 libode - libode.a and libode.so. It seems that the "gcc
> doesn't see" the libode.a and then link with libode.so dynamically.
>
> It is possible to link libode statically with my application? And how?
>
> Thanks,
> Ivan.
> _______________________________________________
> ODE mailing list
> [email protected]
> http://ode.org/mailman/listinfo/ode
>



-- 
Zapp: Captain's log, stardate...er..
Kif: Ohhh. April 13th.
Zapp: April 13th. Point 2.

_______________________________________________
ODE mailing list
[email protected]
http://ode.org/mailman/listinfo/ode