[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop
Subject: Linking libraries in a specific order
From: Bettina Ball <bball () cae-gmbh ! de>
Date: 2004-01-28 10:56:31
Message-ID: 200401281156.32073.bball () cae-gmbh ! de
[Download RAW message or body]
Hello,
I have a KDevelop 2.1.3 project that consists of several
subdirectories (built as static libraries) and one program. Because
of some interdependencies I have to link those static libs in a
specific order. How can I achieve this with KDevelop?
I've taken a look at the various autotools and I know that I can
specify the linking order in the "myprogram_LDADD" variable of the
program's Makefile.am. Unfortunately, that variable is automatically
generated by KDevelop (via autotools?) and will be changed when
configure is called (Build -> Configure...).
Another way could be to tell the linker to search libraries repeatedly
to resolve undefined references (ld --start-group ARCHIVES
--end-group). The problem is that I don't know how to incorporate
this into the KDevelop setup/configuration, either.
Does anybody have any tips or could point me to the right piece of
documentation?
Thanks,
Bettina Ball
P.S.: Unfortunately, upgrading to KDevelop 3.x is not possible for me
right now (in case that would solve my problem).
--
Bettina Ball
Core Software & Land, CAE Elektronik GmbH
52220 Stolberg, Germany
--
eMail: bball@cae-gmbh.de, WWW: http://www.cae.de
Tel.: +49-(0)2402/106587, Fax: +49-(0)2402/1068587
-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic