www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/28/16:09:28

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
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: <Pine DOT A32 DOT 3 DOT 96 DOT 1000227094433 DOT 104638A-100000 AT wilkes1 DOT wilkes DOT edu> <Pine DOT SUN DOT 3 DOT 91 DOT 1000228082923 DOT 8833A-100000 AT is> <lj5lbscuhqnitfnc9aoqqc7det8io3el1o AT 4ax DOT com>
NNTP-Posting-Host: ras1-p15.rvt.netvision.net.il
Mime-Version: 1.0
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).

- Raw text -


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