From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7740 invoked by alias); 10 Sep 2012 11:02:33 -0000 Received: (qmail 7731 invoked by uid 22791); 10 Sep 2012 11:02:32 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ie0-f171.google.com (HELO mail-ie0-f171.google.com) (209.85.223.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 10 Sep 2012 11:02:13 +0000 Received: by ieje14 with SMTP id e14so2909866iej.2 for ; Mon, 10 Sep 2012 04:02:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.41.170 with SMTP id g10mr9512332igl.12.1347274932587; Mon, 10 Sep 2012 04:02:12 -0700 (PDT) Received: by 10.64.45.166 with HTTP; Mon, 10 Sep 2012 04:02:12 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Sep 2012 11:59:00 -0000 Message-ID: Subject: Re: (core dumped) mkshortcut From: Robert Mark To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-09/txt/msg00125.txt.bz2 Hi Earnie, >> As per a previous message >> (http://cygwin.com/ml/cygwin/2012-05/msg00215.html) I am still finding >> that mkshortcut causes core dumps (Windows 7, 64 bit). I have tried a >> few different options: -P or -D still cause dumps. I have checked >> permissions and they are all ok. Some folders do cause the error, some >> don't. >> >> mkshortcut -n "I for cygwin bin" /D/cyghome/bin >> /home/RobertMarkBram/bin/createWindowsShortcut.sh: line 160: 8128 >> Aborted (core dumped) mkshortcut -n "$shortcutName" >> "$target" > > I'm going to guess but have no fact to back it that the reason is due > to the fact you're executing in a 32bit environment and the shortcut > the tool makes needs a 64bit enviroment. This may only be resolved by > a 64bit version of Cygwin. I did say I was running 64bit Win 7, so what exactly do you mean? Cygwin.com says "The Cygwin DLL currently works with all recent, commercially released x86 32 bit and 64 bit versions of Windows". >> I am using an alternative as suggested: >> http://cygwin.com/ml/cygwin/2012-05/msg00232.html >> >> It works OK, but isn't nearly as useful as mkshortcut: lnk files >> handle rather differently than url files. > > You can still automate it. You just have to create a text file > instead of a binary one. I will try that - thanks. Rob :) -- 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