Fwd: more problems linking own library
Ralf Nolden
nolden at kde.org
Tue Sep 18 10:23:21 BST 2001
Hola Miguel,
due to my time shortcomings, I suggest to ask your specific questions on the
kdevelop mailinglists, to which I forward your message. It proably seems a
bit problematic for you to work this out but linking libraries to a project
is rather trivial by adding the lib names with their relative path in the
project tree to the Makefile.am's LD_ADD line. In case you have further
questions, I ask you to turn to the kdevelop mailinglist to which you can
subscribe on www.kdevelop.org.
Ralf
---------- Forwarded Message ----------
Subject: more problems linking own library
Date: Tue, 18 Sep 2001 13:23:37 +0200
From: Miguel Angel de Vega <mvega at mail.sgo.es>
To: Ralf Nolden <nolden at kde.org>
> Hello Ralf,
>
> I'm Miguel Angel de Vega, from Jaleo. I've a problem when I link
> my own libraries.
>
> Well, this is the problem:
We are evaluating the Kdelevop to pass the code of Jaleo for Silicon
Graphics (Irix) to
linux. When I add the Jaleo existing code tree to the kdevelop project, I
don't know how link the diferents libs.a
to the executable, and to link a lib_thatever.a by other lib_other.a, because
the Makefiles in both systems, Linux and Irix, seems very diferent. The code
tree of our code is something like this:
TOP
/ \
UTILS LIBS
/
\ / | \
....
JALEO (others...)
LIB_1 LIB_2 LIB_3 ...
(the executable)
How can I link one of my libraries (LIB_1, for example) from other lib
(LIB_2)? And how can I link all libs (LIB_*) for from the executable? Is this
posible? Where I must do these changes?
Another (linux) question is: how can we use the LEX and YACC programs in
linux, I should search a package that contents it or it can be include in
other way?
Very much thanks for your interest in my problem.
Miguel Angel de Vega,
mvega at mail.sgo.es
Jaleo, an SGO company
http://www.jaleo.com
-------------------------------------------------------
--
We're not a company, we just produce better code at less costs.
--------------------------------------------------------------------
Ralf Nolden
nolden at kde.org
The K Desktop Environment The KDevelop Project
http://www.kde.org http://www.kdevelop.org
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list