[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Static linking of libraries
From: |
Paulo Matos |
Subject: |
Re: Static linking of libraries |
Date: |
21 Mar 2006 05:21:04 -0800 |
User-agent: |
G2/0.2 |
Paulo Matos wrote:
> Hi all,
>
> I'm using gentoo linux and I have a program in C++, built with
> autotools, that links to log4cpp and glpk. However, when I move the
> binary if I don't have this libraries there the binary won't run since
> the linking was done dinamically. How can I do static linking?
>
Found the -static flag... Hope it does the trick! :)
> Cheers,
>
> Paulo Matos