Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Intel C++ Compiler v11.0 - Understanding ELF

srimks
New Contributor II
452 Views
Hi All.

I am using ICC -v11.0, would like to understand ELF(Executable Link Format) on Linux.

Query -

(a) Is there any way to detect and examine ELF type and it's header using ICC?

(b) Any way using ICC v11.0 where I can get information of Process map?

(c) Any documents or links from Intel which discusses all informations of ELF header, it's sections & Process Map in detail?

(d) Also, can I have Intel Binutils references or it's links for understanding?

I checked "/apps/intel/cce/11.0.74/bin/intel64" to find out the Compiler/Binutils driver which can help me with all above, but not able to identify.

~BR
0 Kudos
4 Replies
TimP
Honored Contributor III
452 Views
icc doesn't alter the binutils you have installed; you have exactly the same binutils functionality regardless of whether you compile with gcc or icc, or a combination. The current html doc is at http://sourceware.org/binutils/docs/
0 Kudos
srimks
New Contributor II
452 Views
Quoting - tim18
icc doesn't alter the binutils you have installed; you have exactly the same binutils functionality regardless of whether you compile with gcc or icc, or a combination. The current html doc is at http://sourceware.org/binutils/docs/

I am not sure how ICC v11.0 was installed as simply I am a user of it.

AFAIK, Binutils would be a part of ICC Toolchain.

In GCC, if I am not wrong, readelf helps in knowing the ELF section of it's header, similary ICC might have something to understand the ELF generated using ICC.

I would need support for above queries from Intel community as asked - (a), (b), (c) & (d) for having proper ICC Toolchain utility insights for my work.

~BR
0 Kudos
TimP
Honored Contributor III
452 Views
Quoting - srimks
AFAIK, Binutils would be a part of ICC Toolchain.
No, icc inherits binutils from (and shares with) the g++ development installation.
0 Kudos
srimks
New Contributor II
452 Views
Quoting - srimks
Hi All.

I am using ICC -v11.0, would like to understand ELF(Executable Link Format) on Linux.

Query -

(a) Is there any way to detect and examine ELF type and it's header using ICC?

(b) Any way using ICC v11.0 where I can get information of Process map?

(c) Any documents or links from Intel which discusses all informations of ELF header, it's sections & Process Map in detail?

(d) Also, can I have Intel Binutils references or it's links for understanding?

I checked "/apps/intel/cce/11.0.74/bin/intel64" to find out the Compiler/Binutils driver which can help me with all above, but not able to identify.

~BR


Hi All.

I got the answers as I tried experimenting myself for all above as -

(a) One can use "readelf", but this "readelf" would be "/usr/bin/readelf".

(b) One can refer all sections (data, bss, rodata,text, etc.)information using "readelf".

(c) Refer http://www.sco.com/developers/gabi

http://www.sco.com/developers/devspecs

(d) There is no Intel created Binutils. Intel uses GNU Binutils.
Refer http://sources.redhat.com/binutils


Please correct and do add some more info. if needed to all above.

~BR

0 Kudos
Reply