From: "Ilya P. Ryzhenkov" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiler switch? Date: Fri, 29 Nov 1996 15:41:23 -0800 Organization: Institute of Semiconductor Physics Lines: 17 Distribution: world Message-ID: <329F74A3.77DE@spy.isp.nsc.ru> References: <57k8q7$p1d AT newshost DOT cyberramp DOT net> Reply-To: ilya AT spy DOT isp DOT nsc DOT ru NNTP-Posting-Host: arab.isp.nsc.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit DJ-Gateway: from newsgroup comp.os.msdos.djgpp Apparently-To: djgpp AT delorie DOT com timolmst AT cyberramp DOT net wrote: > FLEX. THere are multiple scanners in the program. FLEX generates the > same labels for each run, and thus, the errors. Each one of these > scanners is contained in a library. > How do I tell GCC/LD that these labels should be considered local, > instead of global? AFAIK, there no any such GCC/LD switch, use FLEX switch instead. There is an option (i don't remember the name, smth like --prefix) which force flex to generate different prefixes instead of 'yy'. It is described in info file for flex. -- Sincerely yours, Ilya ----------------------------------------------------------------------------- mailto://ilya AT spy DOT isp DOT nsc DOT ru http://spy.isp.nsc.ru