No opinion on static/shared lib... but should you decide you would
want a shared library in the future, you might consider upgrading your
gdb. There should be no problem loading symbols from shared libraries
in recent versions.
I have tried debugging some of my command-line utilities using
Xerces-C on a box not too different from yours. In GDB 5.0 you can
trace the execution in the Xerces source code, switch between
different threads and various other nifty tricks.
This was on an Ultra running Solaris 8 (`uname -sr` = "SunOS 5.8")
with gcc 2.95.2 and gdb 5.0.
/Martin
--
Martin Kalen
Software Engineer
TODAY Systems, Inc.
http://www.todaysystems.com.au/
Tel +61-3-9536 3900 - Fax +61-3-9536 3901
----- Original Message -----
From: "Dee Jay Randall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 9:23 AM
Subject: Re: Static library
> On Tue, May 22 2001 at 11:05:28P -0500, McKenzie, William (WISM)
wrote:
> > Is there any known problem with creating a statically-linked
library from
> > the xerces sources? I am using MSVC and would like to minimize
run-time
> > dependencies.
>
> Due to difficulties debugging (gdb seemed to choke on shared
> libs), I have been working with statisc libs. My OS is:
> "SunOS 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-250"
> and gcc compiler version:
> "gcc version 2.95.2 19991024 (release)"
>
> All I did was a regular build and then:
> % cd xerces-c-src1_4_0/obj/
> % ar -r libxerces-c1_4.a *.o
>
> This seems to have worked fine, although I have only used
> the DOM parser.
>
> Regards,
> Dee Jay
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]