help-gplusplus
[Top][All Lists]
Advanced

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

Linking with static libraries


From: Herr Fieldmarshall
Subject: Linking with static libraries
Date: Fri, 28 Jan 2005 12:17:48 +0100

Hello,

I've 2 static libraries (let's say libx.a and liby.a) and an executable
(let's call it exe). exe only makes calls to liby.a but liby.a makes calls
implemented in libx.a

In my Makefile.am files for liby.a I added liby_a_LIBADD = $(path_to_libx.a)
and in the Makefile.am I added a exe_LDADD = $(path_to_libx_a)
$(path_to_liby_a)

Nevertheless I still get Link-errors for the functions called in libx from
liby...



reply via email to

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