This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Preprocessing Assembly


Bruce Adams wrote:

-----Original Message-----
From: Dhananjay R. Deshpande [mailto:dhananjayd@kpit.com]
Sent: Thursday, September 12, 2002 3:03 PM
To: Dhananjay R. Deshpande; Bruce Adams; cygwin@cygwin.com; crossgcc@sources.redhat.com
Subject: RE: Preprocessing Assembly


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.

The way this is done in the RTEMS make files
is in two steps as follows (much simplified)

This works fine under cygwin using NTFS without any problem
about the case.

gcc -E input.S -o input.s
gcc input.s -input.o


If you want some example build environments under cygwin or
linux you could get rtems itself OR My Right Boot.
(www.cybertec.com.au)

Both of these feature fully setup setups.
Rtems is based on autoconf
MRB is just based on make.

Best regards

Paul


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]