debugging switches/options with x86 target?
nirav.dalal@teradyne.com
nirav.dalal@teradyne.com
Tue Mar 2 17:00:00 GMT 2004
Hi,
I'm having issues with compiling gcc using debugging switches/options
with x86 target.
I have tried debug switches as under:
>gcc -mdll -DBUILD_DLL -O3 -c -fno-exceptions -gxcoff foo.cpp
cc1plus.exe: warning: `xcoff': unknown or unsupported -g option
cc1plus.exe: warning: `xcoff': unknown or unsupported -g option
cc1plus.exe: warning: `xcoff': unknown or unsupported -g option
>gcc -mdll -DBUILD_DLL -O3 -c -fno-exceptions -gcoff foo.cpp
C:\DOCUME~1\DalalN\LOCALS~1\Temp/cc6baaaa.s: Assembler messages:
C:\DOCUME~1\DalalN\LOCALS~1\Temp/cc6baaaa.s:2819: Fatal error: C_EFCN
symbol out of scope
>gcc -mdll -DBUILD_DLL -O3 -c -fno-exceptions -gdwarf foo.cpp
cc1plus.exe: warning: `dwarf': unknown or unsupported -g option
cc1plus.exe: warning: `dwarf': unknown or unsupported -g option
cc1plus.exe: warning: `dwarf': unknown or unsupported -g option
Why are these options unsupported? Am I missing something?
Any help on this problem is appreicated.
The GCC version I'm using is:
>gcc --version
gcc (GCC) 3.3.1 (mingw special 20030804-1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Thanks,
- Nirav
More information about the Gcc-help
mailing list