1
Fork 0
mirror of https://sourceware.org/git/insight.git synced 2026-03-09 02:16:42 +00:00
No description
Find a file
Patrick Monnerat d281d05233 Update FSF address.
The FSF has moved away from Franklin Street. The address is now
dematerialized.
Update license files to their latest version from fsf.org.
Change source file headers accordingly.
2026-03-06 13:16:37 +01:00
binutils-gdb@4acc488d0d Upgrade submodule. 2026-03-06 09:56:20 +01:00
gdbtk Update FSF address. 2026-03-06 13:16:37 +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. 2026-02-20 11:15:41 +01:00
testsuite/gdb.gdbtk Update FSF address. 2026-03-06 13:16:37 +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 Update FSF address. 2026-03-06 13:16:37 +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]