Given an object/executable how to identify the compiler used tocompile it.

Miner, Jonathan W (CSC) (US SSA) jonathan.w.miner at baesystems.com
Mon Jul 3 15:34:22 UTC 2006


Try "strings -a {filename} | grep GCC"

This works for me on a quick test case. It does not work on strip'ed execuables.


-----Original Message-----
From:	redhat-list-bounces at redhat.com on behalf of Amit H Kumar
Sent:	Mon 07/03/2006 11:22 AM
To:	redhat-list at redhat.com
Cc:	
Subject:	Given an object/executable how to identify the compiler used tocompile it.

Hi Red Hat,

I am not sure if this is a Red Hat linux question or a compiler specific
question. But please guide me.

Given an object/executable how to identify the compiler used to compile it.
Are there any bin-utilities that can be used to find out.

Thank you for any feedback,
-AK

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list





More information about the redhat-list mailing list