This is the mail archive of the
mailing list for the Cygwin project.
RE: Preprocessing Assembly
- From: "Dhananjay R. Deshpande" <dhananjayd at kpit dot com>
- To: "Bruce Adams" <bruadams at tycoint dot com>,<cygwin at cygwin dot com>,<crossgcc at sources dot redhat dot com>
- Date: Thu, 12 Sep 2002 19:29:15 +0530
- Subject: RE: Preprocessing Assembly
> -----Original Message-----
> From: Bruce Adams [mailto:firstname.lastname@example.org]
> Sent: Thursday, September 12, 2002 6:40 PM
> To: email@example.com; firstname.lastname@example.org
> Subject: Preprocessing Assembly
> 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.
> e.g. --preprocess-assembly?
> 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 'email@example.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,
> Want to unsubscribe? Send a note to
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html