[EMAIL PROTECTED] said:
>  This only applies for C++, where there is no standard ABI and haven't
> been - _for C, it is binary compatible_.
>   

To me, "binary compatibility" has always meant something a little different.

On OS/2, DOS, Windows* one has a choice of C and C++ compilers. Shared 
libraries aside, I've never been at all sure I could compile part of a program 
with one, part with another and link the results together.

If I could, for example, compile one source file with Turbo C, another with 
Quick C and link their object files together, then I'd say they are "binary 
compatible."

However, I've never thought this would work.

On Linux I've changed compilers several times (different versions of the gcc 
family) and never had a problem. Probably though, I've never done exactly what 
I describe above.


-- 
Cheers
John Summerfield
http://www2.ami.com.au/ for OS/2 & linux information.
Configuration, networking, combined IBM ftpsites index.

Microsoft's most solid OS: http://www.geocities.com/rcwoolley/

Note: mail delivered to me is deemed to be intended for me, for my disposition.





_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to