Re: Multi-language app

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

 



On 2/13/2018 11:56 AM, NightStrike wrote:
> I have an application that currently combines C and Fortran objects, and so
> links with gfortran to pull in the right runtimes.  We'd like to also
> include C++.  Does the g++ front end do anything at link time other than
> add -lstdc++?  Can I just add that flag to gfortran to successfully link C,
> fortran, and C++ objects into a single binary?
> 
Yes, that's how it's normally done.

-- 
Tim Prince



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux