From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65853 invoked by alias); 18 Jan 2016 15:46:14 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 65836 invoked by uid 89); 18 Jan 2016 15:46:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:crossgc, hdd, HDD, SSD X-HELO: mail.anw.at Received: from ns1.anw.at (HELO mail.anw.at) (195.234.101.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 18 Jan 2016 15:46:11 +0000 Received: from [192.168.0.109] ([180.191.107.102]) by mail.anw.at (8.14.4/8.14.4/Debian-4) with ESMTP id u0IFk653008885 for ; Mon, 18 Jan 2016 16:46:07 +0100 To: crossgcc@sourceware.org From: "Jasmin J." Subject: Hard link in CT_GetCustom Message-ID: <569D08B7.8040806@anw.at> Date: Mon, 18 Jan 2016 15:46:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00014.txt.bz2 Hi! I am currently using a Laptop with a small SSD, so I ran CT-NG on a USB 3.0 HDD. To be more precise, I am using SymLinks for some directories. I discovered a problem in CT_GetCustom() for my custom source directories. There is this line: CT_DoExecLog DEBUG cp -al "${component_location}" \ "${CT_SRC_DIR}/${component_name}-${component_version}" It does not work in my setup, because the src and build directories are on different drives. Is there any good reason why a hard link (-al) is used? I changed it to a sym-link (-as) and this works also. If it is OK to use the sym-link, I will provide a patch. BR Jasmin -- For unsubscribe information see http://sourceware.org/lists.html#faq