Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,673 Members 41,405 Now Online
XDA Developers Android and Mobile Development Forum

[Q] How can I tell what toolchain a ROM was compiled with?

Tip us?
 
Codename13
Old
#1  
Senior Member - OP
Thanks Meter 878
Posts: 814
Join Date: Jun 2012
Default [Q] How can I tell what toolchain a ROM was compiled with?

I've been building CM10.2 for the past month or two and I know how to compile a kernel with a custom toolchain through a BoardConfig flag.

Normally, you can view kernel info, such as the toolchain version used, by opening /proc/version. I was wondering, is there a similar file that I could open to see what toolchain was used to compile the actual ROM?

I followed a guide somewhere to change the toolchain that is used to compile the ROM and I've compiled the ROM itself with a Linaro 4.7 toolchain. Now, I'm not sure if it actually compiled using the Linaro toolchain (I think it may have been built with the regular toolchain used for CM) so I was wondering if there was a way to see (on the device) what toolchain was used for the ROM.

I'd appreciate if someone would help me out here. I don't think it's too much to ask of. Thanks,
- Codename13

Samsung Galaxy Ace II X
(GT-S7560M) - Android 4.3.1 JB - CM10.2 with some bugs

Released Works:Status: Add ".patch" to the end of the link to a Github commit, then download the commit as a patch using wget. *mindblown*


Press THANKS if I helped you in any way!
 
Mardon
Old
(Last edited by Mardon; 23rd March 2014 at 04:30 AM.)
#2  
Mardon's Avatar
Recognized Contributor
Thanks Meter 4502
Posts: 3,320
Join Date: Mar 2008
Location: Hamburg

 
DONATE TO ME
@Codename13
CPU Spy shows compiler version when you scroll down to Kernel info.

Phone: Xperia Arc S
Baseband:
G-77
Rom + Kernel:
[CM11] - [testbuild-20140720]
Rom2 + Kernel2:
OmniROM (0721-self compiled)
Recovery:
CWM 6.x
Phone 2
: Galaxy Ace GT-S5830
Baseband: XWKT8
Rom: modded-CM11++fb (mardon) 20140603
Kernel: MA6 kernel 20140616
Recovery : TWRP Recovery 2.7.1.0-fixed
Tablet:Odys Neo X8 (RK2918)
Rom: [CM10.1] v1.2.4 - 20131209
My Dropbox get your own Dropbox
VLC Android
My Files
 
Codename13
Old
#3  
Senior Member - OP
Thanks Meter 878
Posts: 814
Join Date: Jun 2012
Quote:
Originally Posted by Mardon View Post
@Codename13
CPU Spy shows compiler version when you scroll down to Kernel info.

Unfortunately, that's just the info for the kernel. What I need is the ROM compilation info, which seems impossible to get.

Samsung Galaxy Ace II X
(GT-S7560M) - Android 4.3.1 JB - CM10.2 with some bugs

Released Works:Status: Add ".patch" to the end of the link to a Github commit, then download the commit as a patch using wget. *mindblown*


Press THANKS if I helped you in any way!
 
Mardon
Old
#4  
Mardon's Avatar
Recognized Contributor
Thanks Meter 4502
Posts: 3,320
Join Date: Mar 2008
Location: Hamburg

 
DONATE TO ME
The rom should be compiled with same compiler as the kernel if its the roms inbuild kernel

Gesendet von meinem LT18i mit Tapatalk
Phone: Xperia Arc S
Baseband:
G-77
Rom + Kernel:
[CM11] - [testbuild-20140720]
Rom2 + Kernel2:
OmniROM (0721-self compiled)
Recovery:
CWM 6.x
Phone 2
: Galaxy Ace GT-S5830
Baseband: XWKT8
Rom: modded-CM11++fb (mardon) 20140603
Kernel: MA6 kernel 20140616
Recovery : TWRP Recovery 2.7.1.0-fixed
Tablet:Odys Neo X8 (RK2918)
Rom: [CM10.1] v1.2.4 - 20131209
My Dropbox get your own Dropbox
VLC Android
My Files
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes