From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Seitz To: Charles-Henri Balet Cc: Subject: Re: compile CVS of insight Date: Fri, 17 Aug 2001 13:38:00 -0000 Message-id: References: <001301c1275b$63f3e500$0301a8c0@charlot> X-SW-Source: 2001-q3/msg00157.html 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