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

See the CrossGCC FAQ for lots more infromation.


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

Re: #define in assembler file


On Mon, 23 Oct 2000 17:50:43 -0700, you wrote:

] #defines are handled by the C preprocessor (cpp).  Somewhere in the back
] of my mind I seem to recall that gcc will invoke cpp if the extension is
] .S (upper case) and doesn't for .s (lower case).  You might want to
] check in the gcc documentation.

You can also use the gcc '-x assembler-with-cpp' language specifier to
preprocess and assemble the particular file with those #defines.  The use of .S
(capital s) as the file extension will also imply the same language option.

Hope this helps,

Jeff

Jeff/Laura/Ashley/Jason Domogala
Windham, NH
mailto:domogala@bit-net.com
http://www.bit-net.com/~domogala

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


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