Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 5 Mar 2003 11:36:08 +0000 From: "Steven O'Brien" To: cygwin AT cygwin DOT com Subject: Re: Exception: STATUS_PRIVILEGED_INSTRUCTION occurs before main is executed. Message-Id: <20030305113608.3282d49c.steven.obrien2@ntlworld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Bruce Adams wrote: > I have lately been having real problems with vanilla gcc 3.2 > generating executables that crash. > The simplest way to reproduce the problem is to have a main function > in a file with a .h of the same name as below. Bruce I have tried your example code and it works fine for me: Windows 2000 SP2, cygwin-1.3.20-1, gcc-3.2 20020927 (prerelease), binutils-2.13.90 20021118. Maybe the problem is in your cygwin installation? Steven -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/