Gdb
From Genunix
gdb
- The GNU Debugger
Contents |
[edit]
Rating
4 points (out of 4)
Rating scheme: 4 points means the source builds seamlessly on Solaris Express (OpenSolaris). Points are subtracted as follows:
- Minus 1 if the source doesn't come with an automated way to localize the build (e.g. configure)
- Minus 1 if the source won't compile with Sun's cc (this usually means the code is gcc-centric)
- Minus 1 if a minor patch is required, or
- Minus 2 if a major patch(es) is required
[edit]
How to build gdb-6.5 on Solaris Express
[edit]
Build Environment (platform, compiler, tools, PATH, ld)
[edit]
Configure and compile steps (on x86 hardware)
/usr/bin/bzip2 -dc gdb-6.5.tar.bz2 | /usr/sfw/bin/gtar xf -
cd gdb-6.5
export LDFLAGS="-Wl,-zignore -Wl,-zcombreloc -Wl,-Bdirect -R/usr/local/lib"
export CFLAGS="-i -xO4 -xspace -xstrconst -xpentium -mr"
./configure --prefix=/usr/local \
--mandir=/usr/local/share/man
make
[edit]
Other configure options
[edit]
Directory paths that gdb installs to
local/bin local/include local/info local/lib local/share/locale/da/LC_MESSAGES local/share/locale/de/LC_MESSAGES local/share/locale/es/LC_MESSAGES local/share/locale/fi/LC_MESSAGES local/share/locale/fr/LC_MESSAGES local/share/locale/ga/LC_MESSAGES local/share/locale/id/LC_MESSAGES local/share/locale/ja/LC_MESSAGES local/share/locale/nl/LC_MESSAGES local/share/locale/pt_BR/LC_MESSAGES local/share/locale/ro/LC_MESSAGES local/share/locale/rw/LC_MESSAGES local/share/locale/sv/LC_MESSAGES local/share/locale/tr/LC_MESSAGES local/share/locale/vi/LC_MESSAGES local/share/locale/zh_CN/LC_MESSAGES local/share/man/man1
[edit]
Other 3rd party software gdb requires
(none)
