X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4BC0ACD6.7030504@gmail.com> Date: Sat, 10 Apr 2010 17:52:38 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: abnormal exit: exit code=-1073741795 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 09/04/2010 14:52, Stephen Grant Brown wrote: > I have two versions of cygwin setup on my computer. One is > cygwin-legacy, the other is a install of the latest cygwin software. > > Both "bash.exe --version" and "cp --version" when run from the latest > cygwin return the above exit code and produce no output. > > cygwin-legacy runs normally. > > Please find attaached output from cygwin-legacy's "chkcheck -svr > > cygwin.out" > > What does the above exit code mean? In hexadecimal, it's 0xC000001D, which is the NTSTATUS error code for "STATUS_ILLEGAL_INSTRUCTION". Cygwin 1.7 requires at least an i686 level cpu, with full support for SSE/MMX; what processor do you have in your machine? Is it one of the limited Cyrix CPUs that don't support all the i686 feature set? > How do I compile bash under cygwin? To recompile any existing Cygwin package, use setup.exe in "install from internet" mode, and select the 'Src' checkbox next to the package you want. That will download and install the sources, including any cygwin-specific patches needed, into your /usr/src directory. What happens next depends on the package; some of them supply a shell script (*.sh) that correctly unpacks, patches, configures and builds the sources; other packages will come with a *.cygport script which is processed by the "cygport" utility to perform the same set of tasks. A few might come with no build script of any kind at all, in which case the standard "./configure && make all && make install" technique should work. > What is a good reference to learn c++? Hard to say, since it depends what style suits your personal learning preferences best. The obvious reference is Stroustrup's own book about it: http://www2.research.att.com/~bs/3rd.html cheers, DaveK -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple