home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / programm / utility / flex.lha / Flex / README.AMIGA < prev    next >
Encoding:
Text File  |  1992-04-11  |  2.1 KB  |  66 lines

  1.  
  2.  
  3.                     FLex ver 2.3.7 for Commodore Amiga.
  4.  
  5.               This patch for Amiga, was made by Anders Hybertz
  6.  
  7. ------------------------------------------------------------------------------
  8.  
  9.     This version of Flex, is for Commodore Amiga. I have changed as few
  10.   things as possible. You can find the changes in the source code, if you
  11.    searches the files for <#ifdef AMIGA>. It's compiled under SAS-C 5.1.
  12.  
  13. ------------------------------------------------------------------------------
  14.  
  15. How to make Flex run on you system:
  16.  
  17.  
  18.     - If you have a 68030 you can just copy flex.skel to <s:>
  19.           and the binary FLex.030, where you want it.
  20.  
  21.     - If you have a 68000 you can just copy flex.skel to <s:>
  22.           and the binary FLex.000, where you want it.
  23.  
  24.  
  25.     - If you want to have a 68020 version, you must compile FLex again.
  26.       In the source directory you will find the Makefile, who
  27.           does the job for you.  The Makefile was generated by MkMkake,
  28.           a tool (made by me), that generates Makefiles automatically.
  29.       What you have to change is the <-m3> option. If you write
  30.           <-m2>, you get code for 68020.
  31.  
  32.     - As a test, try FLex on the file <scan.l>. This file is the
  33.           lexical scanner, that FLex use, written in FLex. To do this
  34.       write from CLI:  > Flex -is8 scan.l
  35.  
  36.       FLex then generates the file <lex.yy.c>, if you can compile
  37.       this file with you c-compiler, you is home.
  38.  
  39.     - The Manual for FLex is in the <man> directory. Where else ?
  40.  
  41.     - When you compile FLex, make sure you have the Bison or Yacc
  42.       compiler. 
  43.  
  44.     - FLex will only start from CLI.
  45.  
  46. ------------------------------------------------------------------------------
  47.  
  48. READ THIS:
  49.  
  50.     - Before you start generate a lot of code, please read the
  51.       COPYING file.
  52.  
  53.     - This distribution of FLex is not written by me, I only
  54.       changed it to run on Commodore Amiga.
  55.  
  56. ------------------------------------------------------------------------------
  57.  
  58. WHERE TO FIND ME:
  59.  
  60.     - If you have any problems whit FLex, please let me now.
  61.           I can be reached on:
  62.  
  63.  
  64.                      InterNet:    jeckyl@imada.ou.dk
  65.  
  66. ------------------------------------------------------------------------------