X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=I/PHHdTUqq5e6+0HTlx/1xzd6L0gLY8AUo0sVrki51K GeuG7Bj4y6c4MtPVMNGOvPQx1EaJGJDGQ1IVxlTKD/tq1l3G6g3uQv22rVyfJ7aU /m/Qkjt/LjaoHEuwqRbZAogNPYU4GwHrfvLo75FFHvjJcWBVpSTEtPKUVSE2NxNk = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=ZIMnhT7+3nt4qttB8uRBV5X/uYg=; b=Q8tuPuj9NfQBM2pAm OAcjFlp4BwhHzbTAYfF7Kia3k5casDsR8Jyw3MlNz/6yfNUkor88+XYSHlY4uL4O dAO/SplxLLvS7q5mPlk4EjSmOW3GuI0B2X+ex2NQLjiLBNlvmZqhV+/Qxze7Mear 6JpcXkczZHODIub+JEX+JHq0OQ= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=achim, downloadshtml, downloads.html, Event X-HELO: vsmx011.vodafonemail.xion.oxcs.net From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: Compiled programs fail to run from Cygwin Terminal, but work from windows cmd References: Date: Sun, 25 Jun 2017 10:33:17 +0200 In-Reply-To: (Wouter van Doorn's message of "Wed, 21 Jun 2017 22:10:21 +0100") Message-ID: <87tw34xy9e.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VADE-STATUS: LEGIT Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v5P8XmKG009449 Wouter van Doorn writes: […] Your strace shows that you're getting the following exception on loading one of the Windows DLL or just after an attempt to do that: C0000096: STATUS_PRIVILEGED_INSTRUCTION Executing an instruction not allowed in current machine mode. You might want to look if Windows' Event Viewer has something more useful on this error. Other than that, it appears you have installed Cygwin using a non-administrator account (which may or may not correlate with your problem), you are apparently using a program TVexe that might doing strange things and your PATH is complete bunk. Since you're using a 64bit OS you'd have much less chances of encountering problems using a 64bit Cygwin I'd think. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs -- 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