This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

debugging switches/options with x86 target?


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]