public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Canadian build of Insight for Cygwin SUCCESS.
@ 1999-08-19 18:04 Brendan Simon
  0 siblings, 0 replies; only message in thread
From: Brendan Simon @ 1999-08-19 18:04 UTC (permalink / raw)
  To: Insight (GDB GUI), Cross-GCC, CygWin32

I have managed to build Insight targeted for powerpc-eabi and hosted on
cygwin.  The build machine was a linux box of course :)

I had problems in the build with termcap.h not being found.  I checked
the dev-cygwin source and found that there was a src/libtermcap
directory but nothing in the configure file.  Also the full.exe does not
install any termcap files.  Anyway, I did not know what to do with it so
I did the following.
* changed directory to src/libtermcap
* made a directory called BUILD and changed to it
* typed "../configure -- target=i586-cygwin32 --prefix=/usr/local/gcc
--program-prefix=i586-cygwin32- --with-gnu-as --with-gnu-ld -v
* typed "make all" and it compiled but it used the naitive compiler (ie.
linux) instead of i586-cygwin32-gcc.  So I then typed "make
CC=i586-cygwin32-gcc all" and the correct compiler was used.
* ranlib was invoked on libtermcap.a but again the naitve version was
used so I had to run it manually with "i586-cygwin32-randlib
libtermcap.a"
* "make install" installed the files in /usr/local/gcc/lib and
/usr/local/gcc/include but this is also wrong.  So I copied them to
/usr/local/gcc/i586-cygwin32/lib and /usr/local/cygwin32/include.

The canadian build of Insight now completes and a powerpc-eabi-gdb.exe
file is generated.  I believe that this name is confusing.  It should be
called powerpc-eabi-insight[.exe] as it is not the build of the official
gdb sources.  I rename it on my system.

I haven't tried it to see if runs yet but I will do that today with the
wiggler BDM I have at work.

Cheers,
Brendan Simon.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-08-19 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-19 18:04 Canadian build of Insight for Cygwin SUCCESS Brendan Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).