delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/29/03:54:04

From: Damian Yerrick <DONT DOT YOU DOT DAREd_yerrick AT hotmail DOT comSEND DOT SPAM>
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: <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> <38BAC45B DOT 1C5B3FB0 AT is DOT elta DOT co DOT il>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
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 <eliz AT is DOT elta DOT co DOT il>
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/

- Raw text -


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