Article View: gnu.gcc.help
Article #42312Re: problems with gcc + ms-dos when compiling a bigger project
From: Eli Zaretskii
Date: Tue, 26 Dec 1995 00:00
Date: Tue, 26 Dec 1995 00:00
22 lines
1457 bytes
1457 bytes
On Tue, 26 Dec 1995, Fabian Jasinski wrote: > whenever i try to compile a certain bigger project (many includes > ect.) with gcc + ms-dos, i get the following often repeated error: > > *.o: undefined symbol 4SYMBOL_NAME4 referenced from text segment > > what4s wrong with it? gcc + linux has no problems with the code. for Since it's something specific to MS-DOS, you'll be far better off posting to comp.os.msdos.djgpp (or write to djgpp@delorie.com if you don't have access to Usenet news). One thing to check is the length of the command line you use in the link stage. If it's longer than about 20 screen lines, you might have problems. If you use `*.o' to make it short, but the list of names of all .o files is longer than 20 screen lines when expanded, it can be a problem, too. If none of the above helps, please post to the DJGPP group the version of DJGPP you are using and the command line whcih fails.
Technical Details
Message-ID:
<Pine.SUN.3.91.951226173630.21899B-100000@is>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4bou2n$nb5@dub-news-svc-3.compuserve.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8e6e26ae4fbab10b X-Google-Attributes: gid11318c,public From: eliz@is.elta.co.il (Eli Zaretskii) Subject: Re: problems with gcc + ms-dos when compiling a bigger project Date: 1995/12/26 Message-ID: <Pine.SUN.3.91.951226173630.21899B-100000@is> X-Deja-AN: 122884962 distribution: gnu sender: daemon@cis.ohio-state.edu references: <4bou2n$nb5@dub-news-svc-3.compuserve.com> organization: GNUs Not Usenet newsgroups: gnu.gcc.help