Insight 7.0

View: New views
2 Messages — Rating Filter:   Alert me  

Insight 7.0

by Chris Sutcliffe-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Chuck,

Did you have any luck with your patching of Insight for GDB 7.0?

Chris

--
Chris Sutcliffe
http://emergedesktop.org

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr@...
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr

Re: Insight 7.0

by Charles Wilson-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chris Sutcliffe wrote:
> Did you have any luck with your patching of Insight for GDB 7.0?

Well, I'd been putting it off because the easiest route (e.g. stealing
patches from my cygwin effort) required a mingw version of
autoconf-2.64, which we didn't yet have.

We do now.

So, the attached mingwPORT seems to work ok, but I haven't tested it
heavily.  You'll need to get the source code manually; because this is a
CVS snapshot build, the typical mingwPORT mechanism of downloading the
source code automatically doesn't work.


T=`mktemp -d /tmp/insight-XXXXXX`
pushd ${T}

# get gdb 7.0 code
cvs -d:pserver:anoncvs@...:/cvs/src co \
  -r gdb_7_0-2009-10-06-release insight

# but insight bits are not included, so get them manually
# from HEAD, using the same date as the gdb 7.0 release
cvs -d:pserver:anoncvs@...:/cvs/src co \
  -D 2009-10-06 src/gdb/gdbtk src/gdb/testsuite/gdb.gdbtk \
  naked-tcl naked-tk naked-itcl naked-tix naked-libgui

# rename the top level directory, for clarity
mv src insight-7.0pre_20091006

# make tarball
tar --xz -c -v --exclude-vcs -f insight-7.0pre_20091006.tar.xz \
   insight-7.0pre_20091006

Then, once you have the following:

$ ls
insight-7.0pre_20091006.tar.xz
insight-7.0pre_20091006-1-mingwPORT.tar.bz2

Do this:
$ tar xvjf insight-7.0pre_20091006-1-mingwPORT.tar.bz2
$ cd insight-7.0pre_20091006/mingwPORT
$ ./mingwPORT.sh --no-cleanup

this should create:
insight-7.0pre_20091006-1-mingw32-bin.tar.lzma
insight-7.0pre_20091006-1-mingw32-doc.tar.lzma
insight-7.0pre_20091006-1-mingw32-lic.tar.lzma
insight-7.0pre_20091006-1-mingw32-src.tar.lzma

which requires, should be installed alongside, and does not conflict
with, the gdb-7.0 package in /mingw == C:\MinGW.

Note that if you plan to convert this mingwPORT-based build into some
other scripting framework, you need to be quite careful. Almost every
step is customized in some way -- so read thru all the mingwPORT.* files...

--
Chuck

P.S. Can I get approval for this last patch:
http://article.gmane.org/gmane.comp.gnu.mingw.devel/3502


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
MinGW-dvlpr mailing list
MinGW-dvlpr@...
https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr