This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Does g++ really need to compile main, if c++ code is involved?


* Eric Wolf:

> We have a big bunch of C and C++ code in our product and compile
> main with g++, because I read in
>
> http://www.parashift.com/c++-faq/overview-mixing-langs.html
>
> that this is needed.

This is target-dependent.  For example, GNU/Linux generally doesn't
have a problem anymore with a C main and C++ code elsewhere.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]