delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | =?iso-8859-1?Q?David_Lindstr=F6m?= <info AT davidlindstrom DOT se> |
Subject: | Re: Cygwin GCC and debug info source file paths |
Date: | Wed, 15 Aug 2012 10:42:37 +0200 |
Lines: | 33 |
Message-ID: | <k0fne5$c9k$1@dough.gmane.org> |
References: | <k0e4g9$uuk$1 AT dough DOT gmane DOT org> <CAKOQZ8wXhCTrMkm6yEBW1eysQO5jhaD+3x6AzHN=hTeBCSLueQ AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
In-Reply-To: | <CAKOQZ8wXhCTrMkm6yEBW1eysQO5jhaD+3x6AzHN=hTeBCSLueQ@mail.gmail.com> |
Cc: | gcc-help AT gcc DOT gnu DOT org |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Thanks, this was pretty much exactly what I was looking for, but it turned out the builds at gnuarm.org are so outdated that the option does not exist (-fdebug-prefix-map=/cygdrive/c/=C:/ resulted in an error at least). I managed to create a really dirty workaround for now which was to create C:\cygdrive and then symlink/mklink 'c' => 'C:\' which appears to work but is extremely ugly. Still open for suggestions. Mvh David Lindström "Ian Lance Taylor" wrote in message news:CAKOQZ8wXhCTrMkm6yEBW1eysQO5jhaD+3x6AzHN=hTeBCSLueQ AT mail DOT gmail DOT com... On Tue, Aug 14, 2012 at 11:13 AM, David Lindström <info AT davidlindstrom DOT se> wrote: > Hi, I didn't know where to put this. I'm trying to use a cygwin build of > GCC > for arm (binaries from gnuarm.com). When I build a simple dummy > application > just doing some matrix multiplications in a loop, it creates a nice > executable file with debug info, but the path to the source file is a > cygwin > path which is incompatible with the debugging tool I'm trying to use. I'm > wondering if there's a way to generate the exe with relative paths to the > source files, alternatively to use windows paths? > > The tool is Trace32 from Lauterbach, currently experementing with the arm > simulator from the website. You may be able to use GCC's -fdebug-prefix-map option. Ian -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |