public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re:FW: Can't build Insight with Cygwin
@ 2005-12-23 16:17 wilfried.fauvel
  2005-12-23 16:21 ` FW: " Peter Rockett
  2005-12-23 16:24 ` Spen
  0 siblings, 2 replies; 13+ messages in thread
From: wilfried.fauvel @ 2005-12-23 16:17 UTC (permalink / raw)
  To: insight

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 !



^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <200512231852.jBNIq9cM007525@mx1.redhat.com>]
[parent not found: <cmu-lmtpd-20522-1135363936-1@impala>]
[parent not found: <cmu-lmtpd-21756-1135354673-4@impala>]
[parent not found: <200512231618.jBNGI4BD085002@mail.cso.atmel.com>]
* FW: Can't build Insight with Cygwin
@ 2005-12-23 16:09 Peter Rockett
  0 siblings, 0 replies; 13+ messages in thread
From: Peter Rockett @ 2005-12-23 16:09 UTC (permalink / raw)
  To: insight

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
> 

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-12-24  0:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-23 16:17 Re:FW: Can't build Insight with Cygwin wilfried.fauvel
2005-12-23 16:21 ` FW: " Peter Rockett
2005-12-23 16:24 ` Spen
     [not found] <200512231852.jBNIq9cM007525@mx1.redhat.com>
2005-12-23 23:19 ` Keith Seitz
2005-12-24  0:55   ` Peter Rockett
2005-12-24 18:00   ` Spen
     [not found] <cmu-lmtpd-20522-1135363936-1@impala>
2005-12-23 22:58 ` Peter Rockett
     [not found] <cmu-lmtpd-21756-1135354673-4@impala>
2005-12-23 18:52 ` Peter Rockett
2005-12-23 21:41   ` Peter Rockett
2005-12-24 14:00     ` Keith Seitz
2005-12-23 21:47   ` Spen
     [not found] <200512231618.jBNGI4BD085002@mail.cso.atmel.com>
2005-12-23 18:10 ` Eric Weddington
  -- strict thread matches above, loose matches on Subject: below --
2005-12-23 16:09 Peter Rockett

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