Fixed the broken link, updated with references to elkhound (yes, I'm sure a certain bit in those instructions is TheDailyWTF worthy).
Thanks for updating it. I think I've managed to compile it successfully. I had to do a couple things differently, though.
In this section:
- Fix these file errors (in all cases, by closing the comments with a */ like you'd do in .tp2, .d etc.).
C:\cygwin\home\username\elsa-2005.08.22b\ast\agramlex.yy.cc, line 1229
C:\cygwin\home\username\elsa-2005.08.22b\ elkhound/gramlex.yy.cc, line 1366
- Once you fixed these files, continue running the following in Cygwin:
for a in smbase ast elkhound; do cd $a; ./configure; cd ..; done
for a in smbase ast elkhound; do cd $a; ./make; cd ..; done
cp elkhound/elkhound.exe /usr/bin
The files with the errors in them didn't exist before make was executed, so I had to do this instead:
cd smbase
./configure
make
cd ../ast
./configure
make
(error gets reported here - need to fix agramlex.yy.cc, line 1229)
Fixed it:
/* The contents of this function are C++ specific, so the () macro is not used.
*/
#ifndef NO_YYFLEXLEXER_METHODS
yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout )
{
Then continued:
make
cd ../elkhound
./configure
make
(error gets reported here - need to fix gramlex.yy.cc, line 1366, do same as above)
make
cp elkhound.exe /usr/bin
Then I felt pretty good, but I ran into an issue when running
make windows_zip in the WeiDU directory. I got some error basically telling me that flexlink didn't exist. I made sure I'd installed flex, and when I couldn't find anything more, I Googled it and came up with
this page. Grabbing the binary package there made it work.
Now I just need to make the docs...
Edit: Woot, can make docs, too.