GEZEL Installation Cygwin

From Gezel2

Revision as of 21:38, 25 January 2009 by Gezel2root (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

[edit] A couple of hints for installation on Cygwin

This test was performed on 1/25/09 with the following tool versions

  • flex 2.5.35
  • bison 2.3
  • g++ 3.4.4
  • autoconf 2.63
  • libtool 2.2.6
  • automake 1.9.6
  • gezel-2.3

(1) Make sure you compile in a directory with blanks in the path name. Libtool gets confused otherwise and complains about a 'library not found'.

(2) The most recent flex can be used after making the following edits to the source. Open gezel/fdl.ll in an editor and add at the END of the file:

 int fdlFlexLexer::yywrap() {
   return fdlwrap();
 }

This will be addressed by default in a future version of gezel.

(3) The source code package for gezel-2.3.tgz contains a lexer made with a Linux-based flex. Force the cywgin flex to run before starting compilation by issuing the following command before compilation (make).

 rm gezel/fdl.cc

The above changes lead to the following executables (after 'configure --enable-standalone' and 'make install').

 lib:
     773 Jan 25 21:29 libfdl.la
  776474 Jan 25 21:29 libfdl.a
     788 Jan 25 21:29 libipconfig.la
   73096 Jan 25 21:29 libipconfig.a
 
 bin:
  1006047 Jan 25 21:30 fdlsim.exe