www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/03/01:17:07

Subject: Re: Embedded assembler and comments
To: u940422 AT daimi DOT aau DOT dk (Kim Jersin)
Date: Wed, 2 Nov 1994 18:38:13 -0600 (CST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
From: mcastle AT umr DOT edu (Mike Castle)

Amazingly enough Kim Jersin said:
> 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.

The file system can't, but gcc will work differently depending on
how it is called.  Whether you type "gcc foo.S" or "gcc foo.s"
does make a difference.  Similarly, "gcc foo.c" will compiler C
code while "gcc foo.C" will compiler C++ code.

mrc
-- 
Mike Castle .-=NEXUS=-.  Life is like a clock:  You can work constantly
  mcastle AT cs DOT umr DOT edu     and be right all the time, or not work at all
   mcastle AT umr DOT edu       and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

- Raw text -


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