From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31603 invoked by alias); 28 May 2012 13:09:55 -0000 Received: (qmail 31516 invoked by uid 22791); 28 May 2012 13:09:53 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,TW_GC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from nat13.teradata.com (HELO rpc7149.teradata.com) (153.65.16.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 May 2012 13:09:40 +0000 Received: from SUSHDC7996.TD.TERADATA.COM (localhost.localdomain [127.0.0.1]) by rpc7149.teradata.com (8.13.8/8.13.8) with ESMTP id q4SD9cjV002643 for ; Mon, 28 May 2012 09:09:38 -0400 Received: from SUSHDC8002.TD.TERADATA.COM ([fe80::3d7f:64f4:72fd:b553]) by SUSHDC7996.TD.TERADATA.COM ([2002:9941:211::9941:211]) with mapi id 14.01.0339.001; Mon, 28 May 2012 09:09:37 -0400 From: "Seenivasan, Hinduja" To: "gcc-help@gcc.gnu.org" Subject: RE: Regarding environment variable GCOV_PREFIX Date: Mon, 28 May 2012 13:09:00 -0000 Message-ID: <15621842E393744AA5367A67B16D67D60317DB@SUSHDC8002.TD.TERADATA.COM> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-imss-scan-details: No--9.060-5.0-31-10;No--9.060-5.0-31-10 X-TM-AS-Result-Xfilter: Match text exemption rules:No;Match text exemption rules:No X-TMASE-MatchedRID: fgYTp5XatxZJtzxaLxhtW8g6fo0rxLVrfkuZtv/FS5oNmPMcsvd5Fqut DRUK2Lm2495mG9rS91oZqhQbVgkeSk1/ToDyPvjnQpxiLlDD9FVK770EEUlgDwzvg1/q1MH2A5H e1kDS+OKpgH6TIJi3FDrm2CwlZwVRIAcCikR3vq8qM4T8o2H8ibu1eZZwkLsBl5lkxHIebVDCOE GfAoNl4RiyfMaLxx8U Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-05/txt/msg00230.txt.bz2 Hi, I have a problem in using GCOV_PREFIX environment variable.=20 Compiler version that I am using on build machine - gcc version 3.4.6 20060= 404 (Red Hat 3.4.6-3) I am compiling my source files (*.c) using "fprofile-arcs -ftest-coverage" = on system ABC (build machine)=20 which produces an executable, object files (corresponding to each source fi= le) and gcno file=20 (corresponding to each source file) in the following location /tmp/test/gcovrun/result This location is mounted on to another system XYZ (test machine). On XYZ, w= hen I execute the=20 executable, the same directory structure (/tmp/test/gcovrun/result) is expe= cted for=20 creating *.gcda files.=20 But I do not want to create the same directory structure in my test machine= .=20 I want to create a directory (/tmp/gcovfiles) in my test machine and I want= gcda files to be=20 created in /tmp/gcovfiles location. I tried using environment variables GCOV_PREFIX and GCOV_PREFIX_STRIP. But = it did not have=20 any effect. May be I am not using it properly. Could you please help? Thanks, Hinduja