Get XQilla at SourceForge.net. Fast, secure and Free Open Source software downloads

XQilla : FlexandBison

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Flex Build Documentation

XQilla uses a patched version of Flex for supporting unicode. If the lexer is modified (xqilla/src/lexer/XQLexer.l) then you will need the modified flex so that you can rebuild the lexer.

Simple Instructions for Flex



Building Flex on Windows
If you are building flex 2.5.4a on Windows, you will first need the Cygwin package first, which you can get here. During the installation process, make sure you download the developer tools you will need (bison, flex, gcc, patch, maketools, etc.) to perform the ./configure and ./make processes.

After you download extract the flex source code and install the patch, run ./configure. Once that is finished, open the Makefile and edit the FLAGS line to look like the following:
CFLAGS = -g -Wl,--heap,20000000,--stack,8000000 -O


This modification should give you sufficient stack and heap memory to run flex. Otherwise, you may experience StackOverFlowExceptions and/or segfaults. If you modify the Makefile and are still seeing exceptions, you may have to rebuild Cygwin -- see the Cygwin FAQ for instructions.

Simple Instructions for Bison

bison -d -v -o src/parser/XQParser.cpp src/parser/XQParser.y

CategoryDocumentation

There are 2 comments on this page. [Display comments]

Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.0439 seconds