From: Andrew Crabtree Message-Id: <199707212020.AA243056404@typhoon.rose.hp.com> Subject: Re: libgcc.a problem in latest gcc snapshot To: dj AT delorie DOT com (DJ Delorie) Date: Mon, 21 Jul 1997 13:20:04 PDT Cc: djgpp-workers AT delorie DOT com In-Reply-To: <199707130006.UAA23204@delorie.com>; from "DJ Delorie" at Jul 12, 97 8:06 pm Precedence: bulk > DJGPP's libc has a version of __main that is appropriate for it. Do > not let libgcc.a provide one. We have added the line #define HAS_INIT_SECTION into go32.h. This will a) suppress generatoin of __main in libgcc.a b) Suppress generation of a call to __main when compiling a function named main. Item b) seemed redundant as the crt code calls __main anyway before calling main. As a result the check to see if the constructors have already been processed can probably be removed. Andrew