From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: LD errors compiling source from gnupg-1.0.1.tar.gz Date: Mon, 28 Feb 2000 20:54:19 +0200 Organization: NetVision Israel Lines: 16 Message-ID: <38BAC45B.1C5B3FB0@is.elta.co.il> References: NNTP-Posting-Host: ras1-p15.rvt.netvision.net.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.netvision.net.il 951764120 20708 62.0.172.17 (28 Feb 2000 18:55:20 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 28 Feb 2000 18:55:20 GMT X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,ru,hebrew To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Damian Yerrick wrote: > > >> Is "ifdef DOS appropriate? > > > >No, you should use "#ifdef __DJGPP__". This is specific to the DJGPP > >configuration, someone else could come up with a DOS compiler that > >doesn't prepend underscores. > > What other DOS compilers use Gas-backward AT&T assembly? The issue wasn't AT&T assembly style, the issue was underscores in external symbols declared by C code. DJGPP is one of the very few environments where the underscores are prepended by the compiler (for historical reasons). Besides, the next release of Gas will support Intel style as well (it already works in the development sources).