Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site bbncc5.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!bbnccv!bbncc5!sdyer From: sdyer@bbncc5.UUCP (Steve Dyer) Newsgroups: net.bugs.4bsd Subject: Re: Lex bugs Message-ID: <96@bbncc5.UUCP> Date: Wed, 4-Sep-85 11:30:18 EDT Article-I.D.: bbncc5.96 Posted: Wed Sep 4 11:30:18 1985 Date-Received: Thu, 5-Sep-85 09:00:43 EDT References: <334@harvard.ARPA> Distribution: net Organization: Bolt Beranek and Newman, Cambridge, MA Lines: 16 Without commenting on the bugs you are seeing in lex, it should be emphasized that handing "ld" a C-language object file alone is strictly verboten unless you know exactly what you are doing, since the run-time startup prefix needs to be included. In a sense, you are 'working beneath' the abstraction provided you by "cc". You could have avoided this by saying cc lex.yy.o -ll which turns into ld /lib/crt0.o lex.yy.o -ll -lc -- /Steve Dyer {harvard,seismo}!bbnccv!bbncc5!sdyer sdyer@bbncc5.ARPA