[RFC] Do we care about binary compatibility of code produced by cross-compilers?

Mark Mitchell mark@codesourcery.com
Tue Aug 12 01:37:00 GMT 2008


Ian Lance Taylor wrote:

> The more interesting case is systems for which people always use
> cross-compilers.  Those systems generally do not use shared libraries,
> so compatibility issues are relatively minor.

I don't think that's the case; for example, a lot of embedded Linux 
systems do use shared libraries and third party apps that depend on 
those libraries, so compatibility does really matter.  But, those 
systems are small enough that lots of the system is generally 
cross-compiled.

That said, I think Ian's right; it's better to accept the ABI breakage 
than to have cross- and native-compilation differ.  The latter problem 
is just too horrid.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Libstdc++ mailing list