On Nov 22, 2000, Marc van Woerkom <[EMAIL PROTECTED]> wrote:

>> automake should define it to `$(LIBTOOL) $(CC/CXX)...'.  Maybe it only
>> does this when there is at least one source file to compile in the
>> current directory?

> Bingo!

> Makefile.am:

>     libSciFacBase_la_SOURCES = \
>            buildme.c

And you'd be surprised at the number of problems you'd encounter if
you didn't link at least one object file into a library.

> buildme.c:
>   /* void do_really_nothing_useful() { } */

This is not a valid C program.  A C program must contain at least one
valid declaration.  Try something like `static int i;'
  
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

Reply via email to