14 January 2024, 15:29 | #1 |
Registered User
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
|
Newer VBCC and LINE DEBUG file paths?
I updated my VBCC build from something from 2018, to the latest from phoenix.owl.de/downloads/vbcc.tar.gz (etc). I noticed that now the debug information in the HUNK files includes the full UNIX path of each source file, and not just the filename. When I try to debug in SAS/C CPR tool, it can't find the files, because the UNIX paths don't work of course.
Peeking in the hunk file, older tool produces something like this: LINElich_king.c New one like this: LINE/Users/micahbly/dev/bbedit-workspace-amiga/LichKing-Amiga/lich_king.c I confirmed by recompiling same code with my older version of VBCC, that the paths don't get written. I tried adding -strip-paths, but that doesn't produce a noticeable difference. Is there a new switch I should be using? New build versions: vbcc V0.9h (c) in 1995-2022 by Volker Barthelmann vasm 1.9f (c) in 2002-2023 Volker Barthelmann vlink V0.17a (c)1997-2022 by Frank Wille Old build versions: vbcc V0.9h pre (c) in 1995-2020 by Volker Barthelmann vlink V0.16a (c)1997-2017 by Frank Wille vasm 1.8c (c) in 2002-2018 Volker Barthelmann |
14 January 2024, 18:54 | #2 | |||
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,549
|
Quote:
But for cross-compiling I admit that this is not ideal. A command line option might be the solution. Quote:
Code:
- 1.8e (28.12.18) (...) o output-hunk: Always try to include the full absolute source-path when writing LINE debug hunks (-linedebug option). Quote:
-noabspath. This option should probably go into the non-native vbcc config files, when working as expected. |
|||
14 January 2024, 19:52 | #3 |
Registered User
Join Date: Aug 2018
Location: Minneapolis, USA
Posts: 301
|
Very cool. Will test whenever it's ready.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
INI file and relative paths? | Macca | support.WinUAE | 18 | 20 January 2021 14:46 |
Debug: evaluate a variable built with vbcc | prb28 | Coders. C/C++ | 20 | 18 May 2019 12:32 |
WinUAE command line / debug switches | jotd | support.WinUAE | 2 | 13 January 2019 22:43 |
Config file directory paths | hexaae | support.WinUAE | 6 | 24 June 2018 17:28 |
vbcc multiple include paths | krustur | Coders. C/C++ | 2 | 20 October 2014 23:46 |
|
|