From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23377 invoked by alias); 23 Dec 2005 16:17:43 -0000 Received: (qmail 23370 invoked by uid 22791); 23 Dec 2005 16:17:43 -0000 X-Spam-Check-By: sourceware.org Received: from smtp3.global.net.uk (HELO smtp3.global.net.uk) (80.189.92.91) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 23 Dec 2005 16:17:41 +0000 Received: from [80.189.249.164] (helo=NTHOME) by smtp3.global.net.uk with esmtp (Exim 4.42) id 1Eppbs-0005ju-CH; Fri, 23 Dec 2005 16:17:36 +0000 From: "Spen" To: , "'insight'" Subject: RE: FW: Can't build Insight with Cygwin Date: Fri, 23 Dec 2005 16:24:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In-Reply-To: Authenticated-Sender: X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00064.txt.bz2 Message-ID: <20051223162400.Fn-htgRsibiuEIu1GMUgrDUPcKBKLVg69FWYZGku704@z> Just to let you know that it does build under cygwin. I only make one patch to enable building under the follow config. Cygwin: 1.5.18 GCC 3.4.4 The patch can be found here: http://sourceware.org/ml/insight/2005-q3/msg00021.html I did run into one build problem after updating other cygwin pakages, reinstalling gcc fixed the problems, could be with a try. Regards Spen -----Original Message----- From: insight-owner@sourceware.org [mailto:insight-owner@sourceware.org] On Behalf Of wilfried.fauvel@laposte.net Sent: 23 December 2005 13:38 To: insight Subject: 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=20 > seem to be any regular way this source could build. If I read it=20 > right, Dave Korn has confirmed that the Win32Dll.c code relies on an=20 > idiosyncrasy of an earlier version of gcc. Wilfred, can you post a=20 > patch? I have read Dave Korn's fix but as I have always studiously=20 > 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=20 > gcc 3.4... (see Dave Korn's post). I am interested in Insight under=20 > Windows because I have used MSVC in the past (great debugger!) but=20 > want to migrate to gnu for cross-platform reasons. There's a lot of=20 > 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=20 > 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=20 > 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=3D: && backupdir=3D".am$$" && \ > > am__cwd=3D`pwd` && cd ../.././bfd/doc && \ rm -rf $backupdir && mkdir=20 > > $backupdir && \ for f in ../.././bfd/doc/bfd.info=20 > > ../.././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=20 > > test -f $f; then mv $f $backupdir; restore=3Dmv; else :; fi; \ done; \= =20 > > cd "$am__cwd"; \ if makeinfo --split-size=3D5000000=20 > > --split-size=3D5000000 -I ../.././bfd/doc \ -o=20 > > ../.././bfd/doc/bfd.info ../.././bfd/doc/bfd.texinfo; \ then \ rc=3D0;= =20 > > \ cd ../.././bfd/doc; \ else \ rc=3D$?; \ cd ../.././bfd/doc && \=20 > > $restore $backupdir/* `echo "./../.././bfd/doc/bfd.info" | sed=20 > > 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc section=20 > > mapping'.ss reference to nonexistent node `mmo a New Hash Table=20 > > Type'.ference to nonexistent node `Deriving > > makeinfo: Removing output file `../.././bfd/doc/bfd.info' due to=20 > > 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 > > >=20 Acc=E9dez au courrier =E9lectronique de La Poste : www.laposte.net ; Jusqu'= au 25 d=E9cembre, participez au grand jeu du Calendrier de l'Avent et =A0gagnez tous les jours de nombreux lots, + de 300 cadeaux en jeu !