| delorie.com/archives/browse.cgi | search |
| 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: | Tue, 29 Feb 2000 11:35:52 +0200 |
| Organization: | NetVision Israel |
| Lines: | 26 |
| Message-ID: | <Pine.SUN.3.91.1000229113249.22619R-100000@is> |
| 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> <3vmmbssfu537j927abaevorsgpbj53atte AT 4ax DOT com> |
| NNTP-Posting-Host: | is.elta.co.il |
| Mime-Version: | 1.0 |
| X-Trace: | news.netvision.net.il 951817124 29675 199.203.121.2 (29 Feb 2000 09:38:44 GMT) |
| X-Complaints-To: | abuse AT netvision DOT net DOT il |
| NNTP-Posting-Date: | 29 Feb 2000 09:38:44 GMT |
| X-Sender: | eliz AT is |
| In-Reply-To: | <3vmmbssfu537j927abaevorsgpbj53atte@4ax.com> |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | dj-admin AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Tue, 29 Feb 2000, 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. The question to which I was replying was about an ifdef that determined whether the compiler prepends underscores to symbols declared in C. This is required even with Intel-style assembly, but might not be required with other DOS compilers.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |