This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
shared libraries problem building insight
- From: "RenE J.V. Bertin" <rjvbertin at hotmail dot com>
- To: insight at sources dot redhat dot com
- Date: Mon, 06 May 2002 21:31:28 +0200
- Subject: shared libraries problem building insight
- Bcc:
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.