This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re:FW: Can't build Insight with Cygwin


Hi,

I think you can use the patch command (http://www.gnu.org/software/patch/patch.html) with the .diff file, I have made it manually : you only have to open the three files listed ("RCS file:") in the .diff file, and replace the - lines by the + lines at the corresponding patterns.
I have tested to build on another config (with the same cygwin version : 1.5.18(0.132/4/2), and the same sources), and it seems to crash still ...

Good luck.

 > 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
> >
> 

Accédez au courrier électronique de La Poste : www.laposte.net ;
Jusqu'au 25 décembre, participez  au grand jeu du Calendrier de l'Avent et
?gagnez tous les jours de nombreux lots, + de 300 cadeaux en jeu !




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]