www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/03/04:10:47

Date: Wed, 02 Nov 1994 19:06:29 -0500 (CDT)
From: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Subject: Re: Embedded assembler and comments
To: u940422 AT daimi DOT aau DOT dk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Rockhurst College; Kansas City, MO

>You wrote something like:
>> How can you tell GAS to run a .s file through the preprocessor?
> 
>It should be possible to name the file .S, but DOS can4t tell the difference.

So?  Just use a capital `S' when you type the command.

>I use another approach, naming my assembler files .asm. I then call the 
>prepocessor with instructions to name the output ending in .s (gasp -o switch)
>and after that I use the prepossesed file in any normal compile fase.

.asm could be a bit confusing--it generally denotes Intel's syntax, not
whatever bizarre (wrt Intel's) syntax GAS likes.

--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) -=- httyp!
-=*=-Just because you're paranoid doesn't mean they aren't out to get you.-=*=-
Geek code 2.1 [finger hayden AT vax1 DOT mankato DOT msus DOT edu for explanation]: 
 GCS/M/S d(-) H s g+ p? !au a-- w+ v+ C++(+++)>++++ U-(S+)>++++ P+ L>++ 3(-) 
 E-(----) !N>++ K- W(--) M-(--) V(--) po-(--) Y+(++) t(+) !5 j R G tv--(-) 
 b+++ !D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?

- Raw text -


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