Hi,
I need to be able to create a source file and compile the thing
in my "make check" testing. Unfortunately, I have no need for
compiling anything in the "test" directory via "make", so the
Makefile.am has no: mumble_PROGRAMS stuff in it. Consequently,
there are no compile rules in the Makefile, either. What is the
recommended way of convincing libtool that it should compile a
program linking against libraries that can be in any of various
places? What I have been trying does not work on some platforms,
though it seems to work on most:
+ gcc -DHAVE_CONFIG_H -g -O2 -DTEST_TEST_NESTED_OPTS
-I/local/build/autogen-5.8 -I/local/build/autogen-5.8/agen5
-I/local/build/autogen-5.8/autoopts -I/usr/local/include -o nested
nested.c /local/build/autogen-5.8/autoopts/.libs/libopts.a
/local/build/autogen-5.8/autoopts/.libs/libguileopts.a -Wl,-R
-Wl,-rpath,/usr/local/lib -Wl,-L/usr/local/lib -lguile -lguile-ltdl
-Wl,-rpath,/usr/local/lib -lcrypt -lm
/usr/local/lib: file not recognized: File format not recognized
collect2: ld returned 1 exit status
+ failure cannot compile nested.c
Thanks! Regards, - Bruce