Message-Id: Date: Thu, 01 Aug 1996 16:23:25 +1200 From: Bill Currie To: djgpp AT delorie DOT com Subject: Re: __attribute__((section)) I haven't looked and the linker script or the startup code, but I have just got gcc to accept __attribute__((section))!!! All that's needed is to include the macro below in (gcc source)configure/i386/go32.h and rebuild. The linker script and startup code is another matter of course. ---------------cut---------------- #define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME)\ do { \ fprintf (FILE, "\t.section %s\n", NAME); \ } while (0) ---------------cut---------------- DJ, how do I configure properly to build cc1plus? I had to hack the makefiles by hand to get it to work (cc1 and cc1obj were nicely automatic). Bill