This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: rpath command?
- To: Marc van Woerkom <marc dot vanwoerkom at science-factory dot com>
- Subject: Re: rpath command?
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 22 Nov 2000 19:01:15 -0200
- Cc: automake at gnu dot org, libtool at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org><mailto:automake-request@gnu.org?subject=unsubscribe>
- References: <200011221928.eAMJSjU15584@nil.science-factory.com><or3dgj6bg0.fsf@guarana.lsd.ic.unicamp.br><200011222006.eAMK6Jr15801@nil.science-factory.com><or8zqb4uwm.fsf@guarana.lsd.ic.unicamp.br><200011222045.eAMKjiw15978@nil.science-factory.com>
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