Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Codename13

18th February 2014, 02:27 AM   |  #1  
OP Senior Member
Thanks Meter: 1,071
 
876 posts
Join Date:Joined: Jun 2012
More
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
23rd March 2014, 05:16 AM   |  #2  
Mardon's Avatar
Recognized Contributor
Flag Hamburg
Thanks Meter: 4,769
 
3,442 posts
Join Date:Joined: Mar 2008
Donate to Me
More
@Codename13
CPU Spy shows compiler version when you scroll down to Kernel info.

Last edited by Mardon; 23rd March 2014 at 05:30 AM.
23rd March 2014, 09:14 PM   |  #3  
OP Senior Member
Thanks Meter: 1,071
 
876 posts
Join Date:Joined: Jun 2012
More
Quote:
Originally Posted by Mardon

@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.
23rd March 2014, 10:12 PM   |  #4  
Mardon's Avatar
Recognized Contributor
Flag Hamburg
Thanks Meter: 4,769
 
3,442 posts
Join Date:Joined: Mar 2008
Donate to Me
More
The rom should be compiled with same compiler as the kernel if its the roms inbuild kernel

Gesendet von meinem LT18i mit Tapatalk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes