Date: Wed, 04 May 94 07:52:19 -0400 From: pmiller AT pmiller DOT hdos DOT hac DOT com (Peter E. Miller) To: leisner AT sdsp DOT mc DOT xerox DOT com Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: ifdefs in assembler Reply-To: miller AT hac2arpa DOT hac DOT com > I want to modify crt0.s. > > It seems the assembler files are of the format > > #ifdef FOO > foo > #else > bar > #endif > > > Seems like the assembler doesn't understand these macros > and does foo and bar... > > Do I have to make a special rule to pass > the assembler files through the preprocessor? Does compiling it as 'crt0.S' (instead of 'crt0.s') work? That's the usual method to tell gcc to run the preprocessor on assembler. -- Peter E. Miller