This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: compile CVS of insight
- To: Charles-Henri Balet <charles-henri at prolectronic dot ch>
- Subject: Re: compile CVS of insight
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Fri, 17 Aug 2001 13:38:12 -0700 (PDT)
- cc: <insight at sources dot redhat dot com>
On Fri, 17 Aug 2001, Charles-Henri Balet wrote:
> How compile the CVS of insight and dejagnu, I have download the CVS files
> like this :
>
> >CVS: Check out read-only copies from the GDB CVS repository with commands
> like these:
> >cvs -z9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src login
> >{enter "anoncvs" as the password}
> >cvs -z9 -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src co insight dejagnu.
> >Checking out and building both insight and dejagnu is recommended.
>
> and now I want to compile insight for arm-elf and user it under cygwin
>
> any can help me ?
Sure. It's (pretty simple).
I'll presume that you've already got Cygwin installed and working. If not,
you'll need to do that first. See http://www.cygwin.com. Insight on
windows is built on top of Cygwin.
Once you have your cygwin set up running and you can build simple
hello-world exeuctables, your ready to start building insight. Let's
assume that the sources you got from CVS are in "/home/chb/sources/src".
(It's the "src" directory that you got from cvs.) Then:
$ pwd
/home/chb/sources
$ mkdir cygwin-armelf
$ cd cygwin-armelf
$ ../src/configure --target=arm-elf \
--prefix=/home/chb/sources/built
[lots of stuff]
$ make all-gdb
[lots of stuff]
$ make install-gdb
When you get here, you will have your insight executable (arm-elf-gdb) in
/home/chb/sources/built/bin.
Take a look at gdb documentation for more information on building.
Insight is basically just a gui. Gdb is the debugger.
Good luck!
Keith