help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are there C++ and C object file differences?


From: Ray Hurst
Subject: Re: Are there C++ and C object file differences?
Date: Sat, 27 Jan 2007 13:31:35 -0800
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

What specifically does this group cover?
Ray

Paul Pluzhnikov wrote:
Ray Hurst <rhurst2@cox.net> writes:

I haven't used C++ for a number of years now and as a result I am
unfamiliar with the object format.

Generally, only people who write compilers, linkers and debuggers
know much about object file formats.

Can the linker link mixed C and C++ object files together?

I know of no system that uses different object file formats for
different languages.
Since C++ "imports" most of libc via <cstdlib>, if such a system
existed, it would have to provide two implementations of libc --
one for C, and another for C++. Not very likely to ever happen.

Cheers,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]