X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49C4E935.9000003@cwilson.fastmail.fm> Date: Sat, 21 Mar 2009 09:18:45 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Any Cygwin tool to change .exe subsystem type ? References: <1Lkb2J-2570k40 AT fwd11 DOT aul DOT t-online DOT de> <49C4A24C DOT 6050603 AT gmail DOT com> In-Reply-To: <49C4A24C.6050603@gmail.com> 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 Dave Korn wrote: > Christian Franke wrote: >> Is there any tool in the Cygwin distro that allows to change subsystem >> type (Console, GUI, ...) of an already linked .exe ? >> >> Same operation as e.g. 'editbin /subsystem:windows ...', but without the >> need to have MS tools installed. >> > > Not yet, but it would make a great PTC for the new 'peflags' tool recently > discussed on this list. Actually, I think THIS functionality, as well as the ability to set the date field of a PE object as recently mentioned on the gcc list, is a better fit for objdump. While peflags /can/ be used to "process" a single file via manual use, it's really designed for "SIMD" operation: do X to every Y in some large list. In fact, if it weren't for that ability, I'd have to agree with cgf that all of peflags' functionality really belongs in objdump and not in a separate tool at all. (Well, that, and it fits the mandate of the rebase package: "oops, something screwy about windows means we must (do something) to a lot of binaries after they have been installed") However, PTC...but peflags is, itself, currently just a large patch to the rebase package. Jason? Jaaaason? -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/