debugging switches/options with x86 target?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux