From anthony_clayden at clear.net.nz Fri Jul 20 00:34:45 2018 From: anthony_clayden at clear.net.nz (Anthony Clayden) Date: Fri, 20 Jul 2018 12:34:45 +1200 Subject: Broken link on download page Message-ID: The Hugs download page here: https://www.haskell.org/hugs/pages/downloading.htm Has broken links for the latest (Sept 2006) downloads of Hugs for Windows. Should be: * WinHugs-Sep2006.exe https://www.haskell.org/hugs/downloads/2006-09/WinHugs-Sep2006.exe * MinHugs-Sep2006.exe https://www.haskell.org/hugs/downloads/2006-09/MinHugs-Sep2006.exe (Those links currently point to Neil Mitchell's repositories, which have ceased to be.) Links to downloads for other platforms look OK. (I haven't tried them all.) Hugs and WinHugs still run fine, even on a 64-bit Windows machine, by the way. And Trex just works like it says on the tin. AntC -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndmitchell at gmail.com Fri Jul 20 09:40:08 2018 From: ndmitchell at gmail.com (Neil Mitchell) Date: Fri, 20 Jul 2018 10:40:08 +0100 Subject: Broken link on download page In-Reply-To: References: Message-ID: Hi Anthony, Thanks for finding it. I don't even know how to update the website. Ross (cc'd) might... Thanks, Neil On Fri, Jul 20, 2018 at 1:35 AM Anthony Clayden wrote: > > The Hugs download page here: > https://www.haskell.org/hugs/pages/downloading.htm > > Has broken links for the latest (Sept 2006) downloads of Hugs for Windows. Should be: > > * WinHugs-Sep2006.exe > https://www.haskell.org/hugs/downloads/2006-09/WinHugs-Sep2006.exe > > * MinHugs-Sep2006.exe > https://www.haskell.org/hugs/downloads/2006-09/MinHugs-Sep2006.exe > > (Those links currently point to Neil Mitchell's repositories, which have ceased to be.) > > Links to downloads for other platforms look OK. (I haven't tried them all.) > > Hugs and WinHugs still run fine, even on a 64-bit Windows machine, by the way. And Trex just works like it says on the tin. > > AntC > _______________________________________________ > Hugs-Bugs mailing list > Hugs-Bugs at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/hugs-bugs From anthony_clayden at clear.net.nz Sat Jul 21 13:19:01 2018 From: anthony_clayden at clear.net.nz (Anthony Clayden) Date: Sun, 22 Jul 2018 01:19:01 +1200 Subject: Hugs troubs: build from source on Windows In-Reply-To: References: Message-ID: Thank you Neil, I'm amazed anybody's still monitoring this forum. (I was more posting for the sake of posterity/somebody else trying to revive Hugs.) In that case, I'm sure you'll remember this ;-) https://mail.haskell.org/pipermail/hugs-bugs/2006-August/001612.html I'm building Hugs from the Sep 2006 source, on a 64-bit Windows 8 machine, using MinGW32. The good news is it built and I can at least run the interpreter. The bad news is I hacked and bumbled my way through, so I'm not sure what I got. In particular, three .dll's didn't build, so I copied them over from the binaries distro; then hacked the Makefile; then carried on. Those three are Ptr.dll; Alloc.dll; Error.dll -- from corresponding .c in ./libraries/bootlib/Foreign, and sub-dirs. Presumably the .c didn't compile. Those are three of the four .dll's mentioned in your August 2006 message. Can you remember any clues as to what was wrong or where to go looking? I can explain the message in your post, because I got the same message in an earlier attempt: "too many arguments to function 'mkdir'." Microsoft in their wisdom changed the command. There's a call to it from dirprim.c, guarded by a check of the HOST_OS. The August 2006 message is wrt a call in HsBase.h, similarly guarded but maybe subtly different?: INLINE HsInt __hscore_mkdir( HsAddr pathName, HsInt mode ) { ... mkdir ... } Full disclosure: I got the error re 'mkdir' when I was trying to compile under MSys2 -- trying to be modern. That gives a HOST_OS of 'msys', and Hugs just doesn't know about it. I tried hacking config.sub, but ran into more and more trouble in other places. Eventually I abandoned MSys2 and fell back to old MSys vintage 2011. Thank you for any pointers(!) And thank you Hugs team for such a robust/long-lived piece of software. Building Hugs (or at least building whatever I've got) has been less trouble than GHC on Windows looks to be https://mmhaskell.com/blog/2018/6/11/contributing-to-ghc-1-preparation AntC On Fri, 20 Jul 2018 at 9:40 PM, Neil Mitchell wrote: > Hi Anthony, > > Thanks for finding it. I don't even know how to update the website. > Ross (cc'd) might... > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndmitchell at gmail.com Sat Jul 21 15:57:17 2018 From: ndmitchell at gmail.com (Neil Mitchell) Date: Sat, 21 Jul 2018 16:57:17 +0100 Subject: Hugs troubs: build from source on Windows In-Reply-To: References: Message-ID: I'm afraid I don't even remember what I had for breakfast this morning - absolutely no memory of compiling Hugs and it was probably 4 computers ago so don't have any details. Good luck. Thanks, Neil On Sat, 21 Jul 2018 at 2:19 pm, Anthony Clayden < anthony_clayden at clear.net.nz> wrote: > Thank you Neil, I'm amazed anybody's still monitoring this forum. (I was > more posting for the sake of posterity/somebody else trying to revive Hugs.) > > In that case, I'm sure you'll remember this ;-) > > https://mail.haskell.org/pipermail/hugs-bugs/2006-August/001612.html > > I'm building Hugs from the Sep 2006 source, on a 64-bit Windows 8 machine, > using MinGW32. > > The good news is it built and I can at least run the interpreter. > > The bad news is I hacked and bumbled my way through, so I'm not sure what > I got. In particular, three .dll's didn't build, so I copied them over from > the binaries distro; then hacked the Makefile; then carried on. Those three > are > > Ptr.dll; Alloc.dll; Error.dll -- from corresponding .c in > ./libraries/bootlib/Foreign, and sub-dirs. > > Presumably the .c didn't compile. Those are three of the four .dll's > mentioned in your August 2006 message. > > Can you remember any clues as to what was wrong or where to go looking? > > I can explain the message in your post, because I got the same message in > an earlier attempt: "too many arguments to function 'mkdir'." > > Microsoft in their wisdom changed the command. There's a call to it from > dirprim.c, guarded by a check of the HOST_OS. The August 2006 message is > wrt a call in HsBase.h, similarly guarded but maybe subtly different?: > > INLINE HsInt > __hscore_mkdir( HsAddr pathName, HsInt mode ) > { ... mkdir ... } > > Full disclosure: I got the error re 'mkdir' when I was trying to compile > under MSys2 -- trying to be modern. That gives a HOST_OS of 'msys', and > Hugs just doesn't know about it. I tried hacking config.sub, but ran into > more and more trouble in other places. Eventually I abandoned MSys2 and > fell back to old MSys vintage 2011. > > > Thank you for any pointers(!) And thank you Hugs team for such a > robust/long-lived piece of software. Building Hugs (or at least building > whatever I've got) has been less trouble than GHC on Windows looks to be > https://mmhaskell.com/blog/2018/6/11/contributing-to-ghc-1-preparation > > > AntC > > > On Fri, 20 Jul 2018 at 9:40 PM, Neil Mitchell > wrote: > >> Hi Anthony, >> >> Thanks for finding it. I don't even know how to update the website. >> Ross (cc'd) might... >> >> _______________________________________________ > Hugs-Bugs mailing list > Hugs-Bugs at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/hugs-bugs > -------------- next part -------------- An HTML attachment was scrubbed... URL: