1
Fork 0
mirror of https://sourceware.org/git/insight.git synced 2025-11-15 14:43:54 +00:00
No description
Find a file
Patrick Monnerat 5f5fbc847c Upgrade submodule, sync patch and code.
Command classes are now ored bits, not enum values.
2025-11-14 13:07:15 +01:00
binutils-gdb@24e9fdc6ef Upgrade submodule, sync patch and code. 2025-11-14 13:07:15 +01:00
gdbtk Upgrade submodule, sync patch and code. 2025-11-14 13:07:15 +01:00
libgui Enable Tcl/Tk 9 in conditionals and requirements. 2025-05-04 02:01:18 +02:00
patches/binutils-gdb Upgrade submodule, sync patch and code. 2025-11-14 13:07:15 +01:00
testsuite/gdb.gdbtk testsuite: modernize configure script. 2022-11-25 16:39:57 +01:00
.gitmodules Unbundle tcl, tk, itcl, itk, iwidgets. 2015-02-17 17:23:52 +01:00
configure.ac configure: use autoreconf for subdirectories reconfiguration 2022-11-25 16:52:33 +01:00
COPYING License: use latest official form from www.gnu.org. Update FSF address. 2015-01-14 14:29:58 +01:00
Makefile Add the build scripts. 2014-07-15 16:36:26 +02:00
README Upgrade submodule 2022-07-08 14:38:54 +02:00

		insight: the gdb tcl/tk graphic interface
		-----------------------------------------

The GUI part of insight is now maintained outside the gdb tree. Bundles are
therefore needed to get the whole code embedded. They are implemented as:

- bfd, opcodes, texinfo, readline, libiberty, include, sim, cpu, intl and
  libdecnumber are now bundles of binutils-gdb.

- libgui does not appear in any other repository and thus is now part of
  insight.

- binutils-gdb is included as a git submodule.

- tcl, tk, itcl, itk and iwidgets must be provided externally.


Cloning:
  After a simple clone, the submodule has to be initialized and downloaded. This
is done as:
	git clone <url>
	cd insight.git
	git submodule init
	git submodule update

Alternatively, initial cloning can be performed as:
	git clone --recursive <url>

Updating:
  For automatic submodule pulls upon main module pull, set

	git config fetch.recurseSubmodules true

else use

	git submodule foreach --recursive git pull

when submodule pulls are required.
If upgrade of submodules is needed, finish update by

	git submodule update --remote


Building:
- Prepare the configuration scripts with:
autoconf

- Configure the package with the needed options. In example:
./configure	--prefix=/usr/.						\
		--libdir=/usr/lib64					\
		--disable-binutils					\
		--disable-elfcpp					\
		--disable-gas						\
		--disable-gold						\
		--disable-gprof						\
		--disable-gprofng					\
		--disable-ld						\
		--disable-rpath						\
		--disable-zlib						\
		--enable-sim						\
		--with-gdb-datadir=/usr/share/insight			\
		--with-jit-reader-dir=/usr/lib64/insight		\
		--with-separate-debug-dir='/usr/lib/debug'		\
		--with-expat						\
		--with-python						\
		--without-isl

  The configure script builds the "bundle" directory where the rest of
  the build will be performed.

- run make: the top Makefile is only a stub recursively making in the
  "bundle" directory.


To produce a source release tarball:
- Start from a FRESH recursive clone. Work in its top directory.
- autoconf
- configure
- (cd bundle; ./src-release.sh [-b|-g|-x] insight)
  -b, -g and -x compress the tarball with bzip2, gzip and xz respectively.
Tarball is left in file bundle/insight-VE.RS.ION.DATE.tar[.suffix]