Intel® System Studio

Why icc-compiled executable has no debugging symbols found though with -g option

 

Why icc-compiled executable  has no debugging symbols found as below. But gcc-compiled executable has.

 

$ icc -g a.c

$ gdb a.out

GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5)

Copyright (C) 2009 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.  Type "show copying"

Improved sysroot support in Intel C++ Compiler for cross compile

    Intel C++ Compiler, a component of Intel System Studio, provides compatible sysroot support as gcc compiler. With the new features supported in the Intel C++ Compiler, we can use the option --sysroot and the option -gnu-prefix to cross compile the applications for embedded linux target.

  • Developers
  • Linux*
  • Yocto Project
  • C/C++
  • Advanced
  • Beginner
  • Intermediate
  • Intel® C++ Compiler
  • Intel® Integrated Native Developer Experience (INDE)
  • Intel® Parallel Studio XE
  • Intel® System Studio
  • VersionSpecific
  • PlatformSpecific
  • Development Tools
  • Subscribe to Intel® System Studio