This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can C and C++ object files be linked into an executable?
- From: Mike Stump <mrs at apple dot com>
- To: Ray Hurst <rhurst2 at cox dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 26 Jan 2007 16:05:20 -0800
- Subject: Re: Can C and C++ object files be linked into an executable?
- References: <epe4ce$q3a$2@sea.gmane.org>
On Jan 26, 2007, at 3:54 PM, Ray Hurst wrote:
I have a code that is compiled in C and I need to link in C++
object files. I need to know if C++ object files created with a C++
compiler can be linked with C object files created with the C
compiler.
Wrong list, you want help gcc-help is closer to being the right
list. Yes, you can interlink any language with any other.