Preprocessing Assembly
Dhananjay R. Deshpande
dhananjayd@kpit.com
Thu Sep 12 07:02:00 GMT 2002
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.
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
More information about the crossgcc
mailing list