www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/24/16:51:20

Date: Wed, 24 Apr 1996 15:29:34 -0600 (CST)
From: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Subject: Re: [Q] eliminating underbars
To: kbaca AT skygames DOT com
Cc: djgpp AT delorie DOT com
Message-id: <01I3XAQBUJLU005YLF@VAX1.ROCKHURST.EDU>
Organization: Rockhurst College; Kansas City, MO
MIME-version: 1.0

>I'd like to globally eliminate underbars from the assembly output of DJGPP 
>V2.  GCC 2.7.2 under Linux produces no underbars, while GCC 2.7.2 under 
>dos does.  I started using the asm() directive in my declarations, but 
>that's a little messy and makes my code non-portable.
>
>Is there a fix for this problem?

Why do you want to do this?  The reason GCC produces underbars under DOS but
not under Linux is that most Linux systems now use a binary format called
ELF (Executable and Linking Format) which specifies no underbars, whereas
DJGPP uses COFF, which specifies underbars.

-- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) | httyp!
"That's right," he said. "We're philosophers. We think, therefore we am."
-- Terry Pratchett, _Small Gods_ | Geek Code 3.1 [for explanation, finger 
 hayden AT mankato DOT msus DOT edu]: GCS/M/S/C d- s: a18 C++(+++)>++++ UL++>++++ P++ 
 L++>+++++ E- W(-) N++(+) o+ K- w--- O M@ V-(--) PS++(+++) PE- Y(+) PGP(+) t(+)
 !5 X-- R(-) tv-@ b++(+++) DI+ !D-- G++(+++) e->+++++(*) h!>+ r-(--)>+++ y?

- Raw text -


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