Mail Archives: cygwin/2002/09/12/10:02:27
> -----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/
- Raw text -