help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatic dependencies for linked libraries


From: Steve Deiters
Subject: Automatic dependencies for linked libraries
Date: Thu, 25 Mar 2010 09:50:50 -0500

Is there a method to have gcc or ld automatically generate a list of
dependencies for statically linked libraries?  Basically I'm looking for
something similar in nature to what the '-MD' option in cpp does for
headers.

My fallback plan is to parse through the LDFLAGS for the library names
and paths and add the dependencies programmatically by calling eval, but
I would like to avoid this if possible.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]