libtool
[Top][All Lists]
Advanced

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

Re: rpath command?


From: Alexandre Oliva
Subject: Re: rpath command?
Date: 22 Nov 2000 19:01:15 -0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

On Nov 22, 2000, Marc van Woerkom <address@hidden> 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                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

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