Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: Preprocessing Assembly
Date: Thu, 12 Sep 2002 19:32:38 +0530
Message-ID: <69595093233BB547BB70CF5E492B63F26E841D@sohm.kpit.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
From: "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
To: "Dhananjay R. Deshpande" <dhananjayd@kpit.com>,
   "Bruce Adams" <bruadams@tycoint.com>, <cygwin@cygwin.com>,
   <crossgcc@sources.redhat.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g8CE2PI01429



> -----Original Message-----
> From: Dhananjay R. Deshpande 
> Sent: Thursday, September 12, 2002 7:29 PM
> To: Bruce Adams; cygwin@cygwin.com; crossgcc@sources.redhat.com
> Subject: RE: Preprocessing Assembly
> 
> 
> Hi,
> 
> 
> > -----Original Message-----
> > From: Bruce Adams [mailto:bruadams@tycoint.com]
> > Sent: Thursday, September 12, 2002 6:40 PM
> > To: cygwin@cygwin.com; crossgcc@sources.redhat.com
> > Subject: Preprocessing Assembly
> > 
> > 
> > 
> > Hi,
> >     I am using gcc to cross compile for m68k.  I discovered 
> > the following on
> > 
> > the net.
> >  
> > "Both .S and .s are assembler. By convention, .S is assembly 
> > source that
> > needs to be preprocessed. Otherwise, gcc doesn't care."
> >  
> > This is of course less than optimal on windows as the 
> > file system is not case
> > sensitive.  The work around is of course to invoke gcc -E 
> 'manually'.
> Windows file system is case sensitive. You can have .S 
> extension. May be you will have to use explorer to rename .s 
> file to .S
> > Is there a way to force gcc to preprocess assembly using a switch.
> 
> Yes. Use "-x assembler-with-cop" switch.

Typo.. Use "-x assembler-with-cpp" switch.
> 
> Regards,
> Dhananjay
> 
> > e.g. --preprocess-assembly?   
> >     
> > Regards,
> >                 Bruce A.
> > 
> > 
> > ==============================================================
> > ==============
> >  Any opinions expressed in this e-mail are those of the 
> > individual and not
> >  necessarily those of Tyco Electronic Product Group.
> > 
> >  Any prices for the supply of goods or services are only 
> > valid if supported
> >  by a formal written quotation.
> > 
> >  This e-mail and any files transmitted with it, including 
> replies and
> >  forwarded copies (which may contain alterations) 
> > subsequently transmitted
> >  from Tyco Electronic Product Group are confidential and 
> > solely for the use
> >  of the intended recipient.
> > 
> >  If you are not the intended recipient or the person responsible for
> >  delivery to the intended recipient, be advised that you have 
> > received this
> >  e-mail in error and that any use is strictly prohibited.  In 
> > this event,
> >  please notify us via e-mail at 'helpdesk.tepg@tycoint.com' 
> > or telephone on 
> >  0121 255 6499 and then delete the e-mail and any copies of it.
> > ==============================================================
> > ==============
> > 
> > 
> > 
> > 
> > 
> > 
> > ------
> > Want more information?  See the CrossGCC FAQ, 
> > http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to 
> > crossgcc-unsubscribe@sources.redhat.com
> > 
> > 
> 
> ------
> Want more information?  See the CrossGCC FAQ, 
> http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to 
> crossgcc-unsubscribe@sources.redhat.com
> 
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

