This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
FW: Can't build Insight with Cygwin
- From: "Peter Rockett" <p dot rockett at sheffield dot ac dot uk>
- To: <insight at sources dot redhat dot com>
- Date: Fri, 23 Dec 2005 11:57:54 -0000
- Subject: FW: Can't build Insight with Cygwin
- Reply-to: <p dot rockett at sheffield dot ac dot uk>
Hi
Thanks, Wilfred! This at least confirms my view that there did not seem to
be any regular way this source could build. If I read it right, Dave Korn
has confirmed that the Win32Dll.c code relies on an idiosyncrasy of an
earlier version of gcc. Wilfred, can you post a patch? I have read Dave
Korn's fix but as I have always studiously avoided assembler I just don't
understand what to do to implement it!
BTW: Keith, I have used the latest cygwin download which I think is gcc
3.4... (see Dave Korn's post). I am interested in Insight under Windows
because I have used MSVC in the past (great debugger!) but want to migrate
to gnu for cross-platform reasons. There's a lot of IDEs available for gcc
but debugging support is generally poor. Hence the interest in Insight.
Keith, I guess the cygwin compiler on your Win2K box is an old version...
Finally, I tried building with mingw 3.4.4 and the offending section in
tcl/win seems to build OK!! But mingw breaks on the ./bfd sub-directory.
Output below. Any ideas on this one? This looks like something has coughed
in the make file - again, I've studiously avoided using make...
Peter
############################################################################
#############################
>
> make[2]: Entering directory `/c/insight-6.4/bfd'
> Making info in doc
> make[3]: Entering directory `/c/insight-6.4/bfd/doc'
> restore=: && backupdir=".am$$" && \
> am__cwd=`pwd` && cd ../.././bfd/doc && \
> rm -rf $backupdir && mkdir $backupdir && \
> for f in ../.././bfd/doc/bfd.info
> ../.././bfd/doc/bfd.info-[0-9]
> ../.././bfd/doc/bfd.info-[0-9][0-9]
> ../.././bfd/doc/bfd.i[0-9] ../.././bfd/doc/bfd.i[0-9][0-9]; do \
> if test -f $f; then mv $f $backupdir; restore=mv; else :;
> fi; \ done; \ cd "$am__cwd"; \
> if makeinfo --split-size=5000000 --split-size=5000000 -I
> ../.././bfd/doc \
> -o ../.././bfd/doc/bfd.info ../.././bfd/doc/bfd.texinfo; \ then \
> rc=0; \
> cd ../.././bfd/doc; \
> else \
> rc=$?; \
> cd ../.././bfd/doc && \
> $restore $backupdir/* `echo "./../.././bfd/doc/bfd.info" |
> sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc
> section mapping'.ss reference to nonexistent node `mmo a New
> Hash Table Type'.ference to nonexistent node `Deriving
> makeinfo: Removing output file `../.././bfd/doc/bfd.info' due
> to errors; use --force to preserve.
> make[3]: *** [../.././bfd/doc/bfd.info] Error 2
> make[3]: Leaving directory `/c/insight-6.4/bfd/doc'
> make[2]: *** [info-recursive] Error 1
> make[2]: Leaving directory `/c/insight-6.4/bfd'
> make[1]: *** [all-bfd] Error 2
> make[1]: Leaving directory `/c/insight-6.4'
> make: *** [all] Error 2
>