X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 873E63B35130 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cs.umass.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=moss AT cs DOT umass DOT edu Subject: Re: Why is taskset still not in util-linux? To: Roumen Petrov , cygwin References: <1348011a-261a-2a87-d361-4e51fa8dc19f AT cs DOT umass DOT edu> <85ae12aa-6cc3-5d4c-5df2-25bf811ec6a9 AT maxrnd DOT com> <72fea68a-b3d7-e87c-726f-8a5a2587a992 AT maxrnd DOT com> <01e3d337-e5fe-f393-7634-3f1881bca315 AT cs DOT umass DOT edu> <79d7afa5-a07b-04df-c259-b76c61390f8c AT maxrnd DOT com> <4c782f2b-c9f0-cd81-cb8d-f874ddc92fa8 AT cs DOT umass DOT edu> <95b3be49-8842-35d3-faab-7fb053201d8f AT roumenpetrov DOT info> From: Eliot Moss Message-ID: <895c7fa2-62af-efce-97d7-9813c5f54e26@cs.umass.edu> Date: Sat, 21 Mar 2020 19:13:19 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <95b3be49-8842-35d3-faab-7fb053201d8f@roumenpetrov.info> Content-Language: en-US X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: moss AT cs DOT umass DOT edu Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 3/21/2020 10:26 AM, Roumen Petrov wrote: > Eliot Moss wrote: >> So here's a thing, though I don't understand it: >> >> In addition the build/taskset.exe, there's a build/.libs/taskset.exe. >> If I install the latter in /usr/bin/.libs/taskset.exe, then /usr/bin/taskset >> works. In fact, it seems that the version in .libs is the "real" program >> and /usr/bin/taskset is some kind of trampoline (?) to it? > Libtool wrapper is shell script on Unix/Linux and executable on Microsoft Windows OS. Goal of > "wrapper" is to prepare environment in the way that allows to run real executable without installation. > Project that creates just one executable is not the beast sample but think for a library project and > a bundle of tests (executable). All tests must load library from build tree. > > >> >> In fact, a stripped version of build/.libs/taskset installed in /usr/bin >> works just fine. There must be some kind of build and install convention >> going on that I am not familiar with. (I'm not familiar with a lot of >> these build processes, actually.) > I think that in some cases this executable has to be relinked. Definitely not on Microsoft Windows > OS. So on cygwin it is "final" executable. Thanks - I start to get the picture. What is odd is that 'cygport install' puts the _wrapper_ into /usr/bin rather than the executable, and does not install the exectable. The wrapper just silently fails. Now maybe if I built the package (as if I were the package maintainer) and installed that with cygwin's setup, I would get the right thing - not sure (and not 100% sure how to do that). Cheers - EM -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple