[Top][All Lists]

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

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

From: Paul Pluzhnikov
Subject: Re: Are there C++ and C object file differences?
Date: Fri, 26 Jan 2007 12:45:03 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Ray Hurst <> 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.

In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.

reply via email to

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