[maemo-developers] Static and dynamic linkage

From: maemo at bitblit.net maemo at bitblit.net
Date: Mon Dec 3 21:27:29 EET 2007
On Thu, 29 Nov 2007, Guillem Jover wrote:

> Better do something like:
> 
>   $ gcc -o test \
>       -lsomedynamiclib \
>       -Wl,-Bstatic -lsomestaticlib -Wl,-Bdynamic \
>       -lsomeotherdynamiclib \
>       ...
> 
> > > Specifically, I want to statically link in the SQLite library but leave 
> > > the rest of the linkage as is.
> 
> I'd say better not to statically link at all.


Which would mean having to deal with SQLite as a dependency of this 
package...




-- 
Aj.


More information about the maemo-developers mailing list