minor gcc2->gcc3 migration nit
Joe Buck
Joe.Buck@synopsys.COM
Thu Apr 22 17:54:00 GMT 2004
On Thu, Apr 22, 2004 at 01:28:21PM -0400, Phil Edwards wrote:
> Richard Kenner wrote:
> > When that situation actually arises, I'll worry about it then.
> >
> > There are a number of very large projects within very large companies
> > such as Boeing, that routinely do multi-language projects, C++ and
> > Ada being a common combination.
>
> Sorry, I should have been more specific.
>
> When that situation actually arises in a project I'm working on, and
> therefore care, I'll worry about it then. :-)
I've worked on mixed-language projects that require language-specific
support libraries, for example, C, C++, and Fortran. To make life worse,
these projects have had to support multiple compilers from different
vendors.
In the end, it gets solved by determining the exact list of support
libraries needed and specifying them explicitly. If gcc could figure this
out automatically with a collect2-based approach, as has been suggested,
that might be nice, but I still would have had to figure out how to make
the app work for the other compilers. Looking at the output of "g++ -v"
or "g77 -v" gives the information you need, you write the Makefile, and
you're done.
More information about the Gcc
mailing list