From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22919 invoked by alias); 13 Dec 2014 00:22:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 22909 invoked by uid 89); 13 Dec 2014 00:22:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-vc0-f170.google.com Received: from mail-vc0-f170.google.com (HELO mail-vc0-f170.google.com) (209.85.220.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 13 Dec 2014 00:22:40 +0000 Received: by mail-vc0-f170.google.com with SMTP id hy4so4137493vcb.15 for ; Fri, 12 Dec 2014 16:22:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=Pzyg9alNwgPqqgfPRaqnXjoKL26yrbWZvk2IYtNTkVc=; b=YMW8N8DS/LS842KvGsvHAvQ8CVlx9kPdKnCVJDSZaHcO2JbnYvT27c/Ka6hql3MoP1 IxmaRBOh+Z2ciQQjGecNJKQyhrAypPC+YOhK930wzB2ZMOPVKdaAnhaRQW6vd3fdB2lY xRJZcdEMw2o6CuGi1VWwSL8dwiYWkBv8cLNfqSzyzpWyPaBIdSEpDzoocvOIEhC6qL7/ sCdoMUk1ZBVgJrjKQ5FrWbTUhHnBlSLjFwh205ynsnAqdMW/Vck9jj/NUZ7jrjBsLTHG fDI9qk+HNP71ZEXVDEb9K8QHT82cARuEL9bnBxT/H4AwS+wrifs+ulhR6PBkzs5PD3XY drww== X-Gm-Message-State: ALoCoQmhg2twaiBv9NaxlWp9wvQChHtDx1XcEQSX2AHjaZjG3Wu3NhmiWYTikbFJ3BnL1SRnqLrd MIME-Version: 1.0 X-Received: by 10.220.201.196 with SMTP id fb4mr11963163vcb.3.1418430158565; Fri, 12 Dec 2014 16:22:38 -0800 (PST) Received: by 10.52.114.101 with HTTP; Fri, 12 Dec 2014 16:22:38 -0800 (PST) Date: Sat, 13 Dec 2014 00:22:00 -0000 Message-ID: Subject: path to find libcc1.so? From: Doug Evans To: Jan Kratochvil Cc: gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00300.txt.bz2 Hi. I was reading the new "compile" code and a question occurred to me. Do we want to give the user a parameter to specify the path of libcc1.so? (say if it's in a non-standard location) Or is the plan to tell users to use existing mechanisms (LD_LIBRARY_PATH, et.al.)? [If we provide a parameter, presumably we'll then need to do safe-path-checking, but we already have code for that for libthread_db.]