Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!cs.utexas.edu!uunet!mcvax!kth!draken!tut!santra!mjolner!eiffel.tele.nokia.fi!eru From: eru@eiffel.tele.nokia.fi Newsgroups: comp.binaries.ibm.pc.d Subject: Re: flex for the PC Keywords: flex lex porting Message-ID: <360@mjolner.tele.nokia.fi> Date: 23 May 89 19:50:47 GMT Sender: news@mjolner.tele.nokia.fi Reply-To: eru@eiffel.tele.nokia.fi () Organization: Nokia Telecommunications Oy, Espoo, Finland Lines: 18 Porting flex to the PC is not too difficult. The main thing is changing the names used: MS-DOS hates long names with lots of dots... The names I used: ORIGINAL SHORT VERSION flex.skel flex.sk flex.fastskel flex.fsk flexskelcom.h flexskco.h flexskeldef.h flexskde.h fastskeldef.h fastskde.h scan.c.dist scan.cdi lex.yy.c lexyy.c (This is what flex produces) Other than that, there were no real problems. I used Microsoft C 5.0 and defined SV (the sys-V option). Large memory model works. Erkki Ruohtula eru@eiffel.tele.nokia.fi