www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/28/10:38:48

From: timolmst AT cyberramp DOT net
Newsgroups: comp.os.msdos.djgpp
Subject: Compiler switch?
Date: Thu, 28 Nov 1996 14:52:02 GMT
Organization: CyberRamp.net, Dallas, TX (214) 340-2020/(817) 226-2020 for info
Lines: 18
Message-ID: <57k8q7$p1d@newshost.cyberramp.net>
NNTP-Posting-Host: pm2-1.cyberramp.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am portint a large unix app to dos. I have everything compiling now,
but when I try to link, I get many errors of multiply defined labels.
What the labels have to do with is lexical analysers generated by
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?

I think this MAY be my last hurdle to getting this program to run. Any
help would be greatly appreciated.

tnx,

Tim Olmstead
timolmst AT cyberramp DOT net

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019