Re: Impossible static linking of libode
"Oleh Derevenko" <[email protected]> Wed, 24 Oct 2007 01:03:28 +0300
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
Hi Mark It prefers whatever is specified with command line switches. Oleh Derevenko -- ICQ: 36361783 ----- Original Message ----- From: "Mark Williams" Subject: Re: [ODE] Impossible static linking of libode >> 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? >> > Move the .so file aside while linking and gcc will pick up the .a file. > I believe it prefers .so files over .a files if both are available at > link time.