[Top][All Lists]

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

partial linking

From: Andreas Fenkart
Subject: partial linking
Date: Sun, 9 Jan 2005 01:36:39 +0100 (MET)

Hi all

Sorry for sending the mail a second time, but I forgot the subject in the
first one.

I have a question regarding partial linking. I found a thread earlier on
this list, namely here.

Unfortunately there was no answer on doing partial linking the right way.
The answer given suggests adding dummy functions and reference them from
elsewhere in the code. That's exactly what I try to avoid.

This is what I do
$(LIBTOOL) --mode=link g++ -o $(OBJDIR)/intermediate.lo/\
$(LIBTOOL) --mode=link g++ -o $(LIBDIR)/$(LA_LIBFILENAME) \
         -rpath $(INSTALLLIB_DIR) \

Unfortunately this fails, because the intermediate.lo is not a textfile
describing where the PIC object is found, but the PIC object itself. No
object is placed into the .libs directory, which libtool usually does when
building *.lo files.

I read the code(libtool-1.5.10) and I'm willing to add the necessary bits to
create a proper .lo file. (Basically just copy-paste from the compile-case).
I'm just asking myself if the current behavior is on purpose, or an
Anybody out here who can tell me how partial linking was thought to be used
in the first place.

kind regards,

+++ Sparen Sie mit GMX DSL +++
AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben

reply via email to

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