littleK
littleK

Reputation: 20143

Does cross-compilation affect application performance?

Can it be said that the performance of a C application compiled for/running on an Intel architecture will be faster than the same application that is cross-compiled for an ARM architecture?

I'm essentially asking whether or not cross-compilation will have a negative affect on performance.

Thanks!

Upvotes: 1

Views: 935

Answers (1)

Jesse
Jesse

Reputation: 6995

In general, no, as a compiler should output the same machine code for a given architecture regardless of what architecture the compiler itself is running on.

Upvotes: 2

Related Questions