On Thu, 28 May 1998, Steve Lamont wrote:
: # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
:
: > ... I need to know how I can
: > statically link the my application (or at least the forms library) so I
: > can get a disassembly trace to figure out what piece of memory my program
: > or the forms library was trying to access. ...
:
: Do
:
: man ld
:
: There should be some discussion of how to statically link there. It
: varies depending upon the operating system.
:
I realize that and I'm pretty much aware of how to generate a static
executable under FreeBSD (``-static'' for gcc -Bstatic for ld). I get one
of two errors trying to create the static version of the program:
ld either complains about __DYNAMIC or it complains about
_GLOBAL_OFFSET_TABLE_ The __DYNAMIC is possible a FreeBSD issue which I
can find out about by looking at the source code for any staticly linked
executable in /bin. The _GLOBAL_OFFSET_TABLE_ seems to be a Forms thing.
I do have a question about how the forms library is build which pertains
to something that I've found in the bugs section of the man page:
BUGS
...
Cascading of shared object defeats the ``-Bstatic'' option.
which makes me ask the question how is the libforms.a library created for
FreeBSD? (Is it created in such a way that defeates shared libraries?)
Chris
-- __o "All I was trying to do was get home from work." _`\<,_ -Rosa Parks ___(*)/_(*)____.___o____..___..o...________ooO..._____________________ Christopher Sean Hilton [chris/at/vindaloo/dot/com]_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html XForms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/