[Top][All Lists]

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

Dependence on object files listed in link script

From: Tzu-Chien Chiu
Subject: Dependence on object files listed in link script
Date: Wed, 4 Oct 2006 11:59:40 +0800

Hello, everyone:

I have to put most of the object files in different sections in the
link script, but I find no easy way to make the executables to depend
on these object files. What I do now is to list those object files in
an autoconf variable and substitute them in
many_objs="${my_abs_top_builddir}/foo.lo ...."
bin_PROGRAMS = bar
bar_LDADD = @top_builddir@/
bar_DEPENDENCIES = $(bar_LDADD) @many_objs@

 .a: { foo.o }

When the number of object files grows, it's difficult to maintain
these files. Better approach anyone, please?

Tzu-Chien Chiu - SMedia Technology Corp.

reply via email to

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