This is the mail archive of the automake@gnu.org mailing list for the automake project.


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

Re: rpath command?


On Nov 22, 2000, Marc van Woerkom <marc.vanwoerkom@science-factory.com> 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


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