Hello,
> Is it possible to compile
> and link a module, such that certain routines available
> from libraries are incorparated statically in the generated
> object file?
Not in the object file, since object files have a defined format and thet
are not easily mergeable (as far as I know). Really by far the easiest and
best thing to do is to use "ar" to archive the needed objects (from the
module and others) and libraries into a new library, and then include this
archive library on the compilation line. It is even possible to make such
shared libraries...
I hope this helps,
Aleksandar
--
__________________________________
Aleksandar Donev
Complex Materials Theory Group (http://cherrypit.princeton.edu/)
Princeton Materials Institute & Program in Applied and Computational Mathematics
@ Princeton University
Address:
419 Bowen Hall, 70 Prospect Avenue
Princeton University
Princeton, NJ 08540-5211
E-mail: [log in to unmask]
WWW: http://atom.princeton.edu/donev
Phone: (609) 258-2775
Fax: (609) 258-6878
__________________________________
|