Re: Linking multiple languages

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

 



On 08/31/2013 03:10 AM, NightStrike wrote:
> If I compile c++ code, I am supposed to use g++.  This automatically
> does some magic that calling just Gcc would not do. The same with
> Fortran code and gfortran.  So my question is which frontend should I
> use to link if I have object files from both c++ as well as Fortran,
> c, and maybe another language still?

You'll probably use gcc but explicitly link in each language's support
library.

Andrew.






[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