
In message 20061025144151.7039c0e5@cad-250-152.norway.atmel.com you wrote:
Matthew McClintock msm@freescale.com wrote:
Commit 2da2d9a4766063b9848f3a35ad6025499cf87265 is causing build problems when building the latest MPC8540ADS with the follow tools installed:
...
Right. The 2.15 documentation doesn't seem to mention the -g option, only -g<debug format>.
Ummm...
This file is a user guide to the GNU assembler `as' version 2.15.94.0.2.2. ... 1 Overview **********
Here is a brief summary of how to invoke `as'. For details, *note Command-Line Options: Invoking.
as [-a[cdhlns][=FILE]] [-alternate] [-D] [-defsym SYM=VAL] [-f] [-g] [-gstabs] [-gstabs+] [-gdwarf-2] [-help] [-I DIR] [-J] [-K] [-L] ... `-g' `--gen-debug' Generate debugging information for each assembler source line using whichever debug format is preferred by the target. This currently means either STABS, ECOFF or DWARF2.
Am I missing something?
Wolfgang, please consider applying the patch below to fix this problem.
I do, but I'd like to understand the problem first. Matthew's example looked to me as if the gcc driver was calling "as" as a result of a "gcc -g" command, and this should IMHO always work.
Best regards,
Wolfgang Denk