From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30851 invoked by alias); 5 Apr 2018 09:19:25 -0000 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 Received: (qmail 30541 invoked by uid 89); 5 Apr 2018 09:19:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=articles X-HELO: mail-wm0-f50.google.com Received: from mail-wm0-f50.google.com (HELO mail-wm0-f50.google.com) (74.125.82.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Apr 2018 09:19:05 +0000 Received: by mail-wm0-f50.google.com with SMTP id x4so4904794wmh.5 for ; Thu, 05 Apr 2018 02:19:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=dEiV3+4j6oV+lZaRYBj9hOYK0BhEKOR897ZJ8zB3CeI=; b=ik7Bl1lTaiGQ9SRLTsFgntZsm3b0eLOj6vgjZDwxhLfEroL/T+bRZkNV8ddgbDuOKQ ZCSFI1moIsqS54BJmcPr3l+a1qKVAw71pMrt7sznQMc7ZKV1tFtkHrqNj3jZbuo+buw6 nFrt7bwgkq/3pcV82OEXro54ob8MAArQVNnGeQhRcLCzt5KwDxlx4V9+e0OjbqnZEO+S Q25nXSxlrvt/oNxXxEjl+EJuM6STqbFFEpAyLcTmX14/ZKC2/spC0vMWzOzvi/34Bm79 07F9o4lE9EI0C57F8Tzl+eo5HFwaKdtU+6MGk5jZUe9K6twP0oBPc7G5N5tp0JnbO20E JBlA== X-Gm-Message-State: ALQs6tCeFSS2zjR48vaN6sbXFYhgg5ICMUzC0PG2dPsjK/Ak2HuAmyl7 37eKmgnDf6gkcSHJTCXujRGytQ== X-Google-Smtp-Source: AIpwx48F/wJJ5EsnGAI1GgWx8j4wOKYJJ3RArtzk/0ihnZwueQ4XVb1n4wSDJYDLyDLHikZtCpfOQQ== X-Received: by 10.80.137.149 with SMTP id g21mr2175546edg.25.1522919943156; Thu, 05 Apr 2018 02:19:03 -0700 (PDT) Received: from pc35.avibit.com ([109.73.146.188]) by smtp.gmail.com with ESMTPSA id s8sm4687758edk.76.2018.04.05.02.19.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 02:19:02 -0700 (PDT) To: cygwin@cygwin.com From: Peter Bauer Subject: How to handle length limit of PATH environment variable Message-ID: Date: Thu, 05 Apr 2018 09:19:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-04/txt/msg00034.txt.bz2 hi, i was bitten by the length limit of the PATH variable of 4095 characters (see [1]) and could not find a way around it. This means i have a lot of software packages in different directories and each of them adds itself to the PATH so one can run the executables and have the shared libs available. Under Windows there is the "short path workaround" but what to do under Cygwin? Creating links with shorter names to the directories is not feasible since there may be different users and different directories per user. Any ideas? thx, Peter [1] https://software.intel.com/en-us/articles/limitation-to-the-length-of-the-system-path-variable -- 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