From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: LD errors compiling source from gnupg-1.0.1.tar.gz Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <3vmmbssfu537j927abaevorsgpbj53atte@4ax.com> References: <38BAC45B DOT 1C5B3FB0 AT is DOT elta DOT co DOT il> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 37 X-Trace: /bGnt5V9XXbmIFQsF5mq8ECNZrFLIG/sGVL+lNGfH4quyVqRivAzWSRJxHsvsvt5EOQ88fQM0G9t!FcMuhHj4dzjW2SF+zE+NhdVjxfTVl9+2CJqSwO1QGzMgiEoHtlnw3TErTci3UsraL+CWANhJHvq5!LPfq X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 29 Feb 2000 05:44:53 GMT Distribution: world Date: Tue, 29 Feb 2000 05:44:53 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 28 Feb 2000 20:54:19 +0200, Eli Zaretskii wrote: >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. Correlated. Read on: >DJGPP is one of the very few environments where the underscores >are prepended by the compiler (for historical reasons). And one of the very few environments (on DOS at least) that uses AT&T syntax. Currently, AT&T + DOS = DJGPP. >Besides, the next release of Gas will support Intel style as >well (it already works in the development sources). Cool! Now NASM finally has some competition. -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your .sig to prevent the spread of .sig viruses. http://www.mcafee.com/