This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

trim libgcc dependancies


libgcc by default is dependent upon all configured languages. I think this is wrong, as it cannot use languages other than C, as otherwise it would fail to build when only C was configured.

This patch trims the dependancy list for libgcc to not include LANUAGES. GCC_PASSES is sufficient for get a dependancy for xgcc and cc1 and slso avoids a phony target which is useful to prevent extra stmp-multilib rebuilding. I think this is safe, as native has a dependancy upon $(LANGUAGE):

native: config.status auto-host.h build-@POSUB@ $(LANGUAGES) \
        $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2)

which will cause things in $(LANGUAGES) to be built. If a port chooses to depend upon languages in addition to c, they can add to the dependancy as they see fit.

Ok?

Attachment: deps-1.diffs.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]