ࡱ> Root Entry Fqrf@Vu@1g@CompObjnWordDocumentkObjectPool $ʜf $ʜf SummaryInformation( g@ Microsoft Word 6.04ࡱ> !w; `This document describes some of the most important steps in porting the original version of Flex 2.4.7 to Windows95 using Micros FMicrosoft Word 6.0 Document MSWordDocWord.Document.69qࡱ_Oh+'0h   $ Hl  D(D:\MSOFFICE\WINWORD\TEMPLATE\NORMAL.DOTVirgiliu Mocanu@Y@Y@TIܥe3 $e;ksjjjjjjj***** 4*EDHHHHHHH{}}}+|PTH#nAjHHHHHnHjjHDHHHHjHjH{~jjjjH{H3HThis document describes some of the most important steps in porting the original version of Flex 2.4.7 to Windows95 using Microsoft Visual C++ 2.1: Prerequizites 1) You must have Bison. Building FLEX.LIB 1) Create a new "static library" project from MS Visual C++ workpench. 2) Add the following files: alloca.c libyyerror.c libyywrap.c 3) Compile the library. Building FLEX.EXE 1) Copy initscan.c to scan.c 2) Create a new "console application" project from MS Visual C++ workpench. 3) Add the following files: ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.c scan.c skel.c sym.c tblcmp.c yylex.c alloca.c 4) Manually change skel.c. Add the following 2 lines (including quotation marks): "#include ", "#include ", before the line "#include ", 5) Under the project settings include the define: HAVE_STRING_H=1, and point the link dirrectory to the location of FLEX.LIB. 6) Invoke bison with the following command line: bison -d parse.y 6) Compile the executable 7) Invoke the new flex executable from a console in the source dirrectory by using the following command line: flex -ist scan.l > scan.c 8) Recompile flex. 9) The executable is now ready. Copy it to a shared dirrectory and also copy the file C++ header file FlexLexer.h to a standard include dirrectory. and thes copy parse_ta.c parse.c copy parse_ta.h parse.h789101) You must have Bison 1.24.124bb4\dlpyu !Udu ;BCvwxy{U]c]c&\]uvwxyvw !"!!!!!!!!!!!!!!!!!!!!!!!!! !!!!;!! !!!!!! !!!!!!0,s9:;]!!!!!!!;!!!0 K@Normala "A@"Default Paragraph Fonts  s ;qrs!!!!!!!!!!!;!!]s3Virgiliu Mocanu C:\TOOLS\SRC\FLEX247\PORTING.DOC@HP LaserJet IIISi\\aladdin\laserHPPCL5MSHP LaserJet IIISi@w ,,@MSUDNHP LaserJet IIISi d HP LaserJet IIISi@w ,,@MSUDNHP LaserJet IIISi d  < !;<rs{;BCRlvwxy:ETimes New Roman Symbol &Arial"MS Sans Serif R$#Virgiliu Mocanu!!!;!! !!!!!! !!!!!!0,Root Entry Fqrf ~ !w; `This document describes some of the most important steps in porting the original version of Flex 2.4.7 to Windows95 using Micros FMicrosoft Word 6.0 Document MSWordDocWord.Document.69qࡱ_Oh+'0h   $ Hl  Drey Food And Drug Stores CBvr Technologies (D:\MSOFFICE\WINWORD\TEMPLATE\NORMAL.DOTVirgiliu Mocanu@Y@Y@z@MSUDNHP LaserJet IIISi d  4:N  *L  !"2=KLU`jx'()*cefx "#Yt   "     { j#$'(8CQZeou};BCRly>t:ETimes New Roman Symbol &Arial"MS Sans Serif S$#Virgiliu Mocanuࡱ> ܥe3 4e;jjuuuuu: Ejlll+k?_T#]u]uuuujuuuujcThis document describes some of the most important steps in porting the original version of Flex 2.4.7 to Windows95 using Microsoft Visual C++ 2.1: Prerequizites 1) You must have Bison. Building FLEX.LIB 1) Create a new "static library" project from MS Visual C++ workpench. 2) Add the following files: alloca.c libyyerror.c libyywrap.c 3) Compile the library. Building FLEX.EXE 1) Copy initscan.c to scan.c 2) Create a new "console application" project from MS Visual C++ workpench. 3) Add the following files: ccl.c dfa.c ecs.c gen.c main.c misc.c nfa.c parse.c scan.c skel.c sym.c tblcmp.c yylex.c alloca.c 4) Manually change skel.c. Add the following 2 lines (including quotation marks): "#include ", "#include ", before the line "#include ", 5) Under the project settings include the define: HAVE_STRING_H=1, and point the link dirrectory to the location of FLEX.LIB. 6) Invoke bison with the following command line: bison -d parse.y 6) Compile the executable 7) Invoke the new flex executable from a console in the source dirrectory by using the following command line: flex -ist scan.l > scan.c 8) Recompile flex. 9) The executable is now ready. Copy it to a shared dirrectory and also copy the file C++ header file FlexLexer.h to a standard include dirrectory. and thes copy parse_ta.c parse.c copy parse_ta.h parse.h789101) You must have Bison 1.24.124bbThis package contains the port of Flex 2.4.7 to the 32bit Windows 95 platform. The package was compiled using MS Visual C++ 2.1. Dont expect anything fancy like a GUI. This is merely a console application which takes advantage of long file names and 32bit OS. Prerequisitesthe Bison 1.24 port to Windows 95.yu !Udu ;BCvwxy{  " j#$'(8CQZeo}>tuuU]c]cV\]uvwxyvw !"!!!!!!!!!!!!!!!!!!!!!!!!! !!!!;!! !!!!!! !!!!!!0,s9:;]  Rtu!!!!!!!;!!!!!!!!!!!!!0K@Normala "A@"Default Paragraph Font Bison 1.24 is located in a different dirrectory. Follow the instructions for building Bison.LIBThis library is necessary for programs that use FLEX without BISON.1) From withing MSVC 2.1 workbench, open flexlib.mak and build it. 2) Copy flexlib.lib to a shared dirrectory.2472B3) Open and build flex247.mak from the MSVC 2.1 workbench.4) Invoke the new F2475) Rebuild Flex from the MSVC 2.1 workbench.6rrectory and also copy the I hope you find this port useful. Send constructive criticism to mocanuv@solix.fiu.edu.        LM| ()e" !!!!!!!!!!! !! !!!!!!!!!!!!!;!!!!!uucVirgiliu Mocanu C:\TOOLS\SRC\FLEX247\PORTING.DOCVirgiliu MocanuC:\TOOLS\SRC\FLEX247\README.DOC@HP LaserJet IIISi\\aladdin\laserHPPCL5MSHP LaserJet IIISi@w ,,@MSUDNHP LaserJet IIISi d HP LaserJet IIISi@w ,,