*BSD News Article 27323


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!basser.cs.su.oz.au!news.cs.su.oz.au!metro!dmssyd.syd.dms.CSIRO.AU!dmsperth.per.dms.CSIRO.AU!uniwa!harbinger.cc.monash.edu.au!yeshua.marcam.com!usc!elroy.jpl.nasa.gov!swrinde!sgiblab!gatekeeper.us.oracle.com!decwrl!apple!kaleida.com!conklin
From: conklin@kaleida.com (J.T. Conklin)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Upgrading NetBSD-0.9 to NetBSD-current
Date: 11 Feb 1994 23:53:47 GMT
Organization: Winning Strategies, Inc.
Lines: 13
Message-ID: <CONKLIN.94Feb11155347@ngai.kaleida.com>
References: <2jb9qg$8lt@sundog.tiac.net> <2jh1sl$fc5@lucy.ee.und.ac.za>
Reply-To: conklin@kaleida.com
NNTP-Posting-Host: ngai.kaleida.com
In-reply-to: barrett@lucy.ee.und.ac.za's message of 12 Feb 1994 00:46:45 +0200

In article <2jh1sl$fc5@lucy.ee.und.ac.za> barrett@lucy.ee.und.ac.za (Alan Barrett) writes:
Alan> I recently went through the same exercise.  I suggest that you try
Alan> something like this:

Alan>  * Now build and install the new lex.  This will require some hacking,
Alan>    because the new lex's "scanner.l" source file is written in a
Alan>    language that the old lex doesn't understand.  

The best way to fix this is to copy initscan.c to scan.c before compiling.
Initscan.c is a copy of scan.c generated with the new lexer (from scan.l).
It is provided for exactly this purpose: bootstrapping lex.

	--jtc