Well, after much trial and error and head scratching, in order to group
libraries together (with linker options trailing the libraries) I did:
OUR_LIBS=../common/libCommon.a ../A/libA.a ../B/libB.a \
../HW/source/libHW.a
sim_LDADD=-Wl,--start-group $(OUR_LIBS) -Wl,--end-group
sim_DEPEND
I'm using libtool to make convenience libraries merging
sublibraries...
I really don't need to use libtool since I don't build shared libraries.
How can I use automake to build convenience libraries -- or do I
need to make a command in the makefile.am I can invoke like
this:
build_lib -o lib
How do I configure/construct Makefile.am to either:
1) tell libtool to use the --preserve-dup-deps flag
or:
2) be able to switch in the linker flag --whole-archive/no-whole-archive
in the right places.
Everything I tried doesn't seem to work -- beyond hand hacking makefiles
or hand
In recursive subsystems, some follow the rule
"1 Makefile per directory"
I like to follow that rule when the Makefile does things besides
recurse.
We have an architecture where each subdirectory has source and include --
i.e.
foo/source
foo/include
I had to put a makefile in foo which j
I was under the impression I can pass command line
options with this syntax...
Options like
foreign
work but
verbose
doesn't.
marty [EMAIL PROTECTED]
Don't confuse education with schooling.
Milton Friedman to Yogi Berra