Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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" To: "Dhananjay R. Deshpande" , "Bruce Adams" , , 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 AT cygwin DOT com; crossgcc AT sources DOT redhat DOT com > Subject: RE: Preprocessing Assembly > > > Hi, > > > > -----Original Message----- > > From: Bruce Adams [mailto:bruadams AT tycoint DOT com] > > Sent: Thursday, September 12, 2002 6:40 PM > > To: cygwin AT cygwin DOT com; crossgcc AT sources DOT redhat DOT 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 DOT tepg AT tycoint DOT 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 AT sources DOT redhat DOT com > > > > > > ------ > Want more information? See the CrossGCC FAQ, > http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to > crossgcc-unsubscribe AT sources DOT redhat DOT 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/