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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=erH 6J31lw1J4KmF7oKHfoxwDI6Jn6r4JFb/yZASim1TLZyh2eixcmU3XI6rwy2QBmQf bKl5qBDUf7ODSYwX9jFSa5Nj7eA1gd2Ot4yeZQrmQIDJgShYwWzZONuDKPH/5CJs /5Qt9zL/2AfHn3TbAqZ5IYpvfFxaj0PxKDoGsYzY= 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:to:from:subject:message-id:date:mime-version :content-type:content-transfer-encoding; s=default; bh=tXRfCHfT3 jP1j4tC3KiIc1Ni1ak=; b=BeLGLJ7hIpD+29NpVGU3dx+eXjA7rjCayX2amu36w pODNd7B2gVipzLdpvHQ5eRmOdp4AsJcjvLdCtDYZ4pP8ADq2VL/T9GhI4yKSL1yL IlxWdXFZFvk6lTnx+dVtNRIbiYHaTdulK7npJtykbJ/QzlsTFyGd5XYOPrdruQXA ag= 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=-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 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) To: cygwin AT cygwin DOT com From: Peter Bauer Subject: How to handle length limit of PATH environment variable Message-ID: Date: Thu, 5 Apr 2018 11:19:01 +0200 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 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