Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Incremental Linking
@ 2000-02-10  5:00 Robert Kerr
  2000-02-11  5:00 ` /WB/
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Kerr @ 2000-02-10  5:00 UTC (permalink / raw)


Hi all,
I have been trying to determine if Tru64 Unix 5.0 has incremental linking.
The ld man page gives -A as the closest thing I can find to the idea, but
I can't seem to get it to work right.  So, can someone tell me if this is
really what I want?  and if so, why is it not working?

Here's the relevant man page section:

-A file
      Perform incremental loading, that is, do linking in a way that
allows the resulting object to be read into an already executing program. 
The argument, file, is the name of a file whose symbol table will be
taken as a basis on which to define additional symbols.  Only newly linked
material will be entered into the text and data portions of a.out,
but the new symbol table will reflect every symbol defined before and
after the incremental load. This argument must appear before any other
object file in the argument list. The -T option can be used as well and
will be taken to mean that the newly linked segment will commence at the
 corresponding address (which must be a correct multiple for the
 resulting object type). The default resulting object type is an
OMAGIC file, and the default starting address of the text is the old value
of _end rounded to SCNROUND as defined in the include file <scnhdr.h>.
 Using the defaults, when this file is read into an already executing
 program, the initial value of the program break (see brk(2)) must
also be rounded.

and here's the error message I get:

cxx -A -gall -msg_disable ptroutbasobj -msg_disable idxoutrange
-msg_disable nosimpint -msg_disable codeunreachable -msg_disable
labelnotreach -msg_disable codcauunr -msg_disable narrowptr -msg_disable
nullref -msg_disable initnotreach -msg_disable uninit2 -x cxx -ptr
cxx_repository -ptr geom/ACIS/cxx_repository -ptr
geom/virtual/cxx_repository -ptr geom/cxx_repository ./AAllocMemManagers.o
./AAllocMemManagersB.o ............
ld (prelink):
-A: must precede all other object files
ld: Usage: ld [options] file [...]
ld:
-A: must precede all other object files
ld: Usage: ld [options] file [...]


Thanks


-bob


Oregano, noun:     The ancient Italian art of pizza folding.
**********************************************************************
* Robert Kerr, The morphing guy.  *    MS 0847 Sandia National Labs  *
* rakerr@sandia.gov               *    Albuquerque NM 87185-0847     *
* Robert_Kerr@byu.edu             *      Phone: (505) 844-8606       *
* http://www.et.byu.edu/~kerrr    *      Fax: (505) 844-9297         *
**********************************************************************





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-02-11  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-10  5:00 Incremental Linking Robert Kerr
2000-02-11  5:00 ` /WB/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox