Clean ever time before build

Hi,

I am working with Eclipse and have two projects.
1. Shared Library
2. Program that uses the library

Every time I make a change in the library, i have to clean & build to get the changes working. If I just build the program it runs as if no changes were made.

Has anyone an idea why that is.
1- You are not linking properly -fPIC http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
A- You did not put the library as a dependency in your makefile. Because of that, the IDE will not try to relink it when the library changes.
Topic archived. No new replies allowed.