public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* shared libraries problem building insight
@ 2002-05-06 12:31 RenE J.V. Bertin
  0 siblings, 0 replies; only message in thread
From: RenE J.V. Bertin @ 2002-05-06 12:31 UTC (permalink / raw)
  To: insight

I am trying to get gdb/insight 5.1.1 to build using shared libraries,
notably the already installed tk/tcl. Below is the report I tried to submit
via the bug tracking system (but that gave me an error). I'd be grateful for
any hints as to what I do wrong.

--

In the default build (modified to use -O2 and not -g), gdb/insight is huge,
and installs a considerable number of static libraries (that itself was
linked against). There is very little installation/configuration
information. The configure command understands the --enable-shared flag, and
will generate shared libraries instead of static. The size of the resulting
gdb is hardly smaller, and it is not linked against the system tk/tcl libs.
When I force that to happen, ide_initialize_paths claims it can't find the
TCL library in a path that I don't know how to modify.

Also, the make terminates because
ranlib libitk3.0.so
ranlib: libitk3.0.so: File format not recognized
(running it again succesfully completes the build).

Repeat:
configure --enable-shared
# edit all Makefiles to change '-g' or '-g -O' into '-O2'
make
# after the ranlib error
make

ls -l gdb/gdb
# (around 3Mb)







RenE J.V. Bertin
College de France/LPPA
11, place Marcelin Berthelot
75005 Paris, France


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-06 19:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-06 12:31 shared libraries problem building insight RenE J.V. Bertin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).