On Fri, 2014-01-03 at 21:17 -0500, Adam Jensen wrote:
> On Sat, 2014-01-04 at 13:24 +1300, David Koontz wrote: 

> > I'm not sure ghdl-0.3.1dev can be built agains gcc-4.7.3  There were 
> > boatloads of changes to support building against gcc-4.8.X.
> > 
> 
> That's interesting. I didn't realize GHDL was dependent by necessity on
> a specific GCC version.

Just to be explicit why : ghdl (gcc version) is only half a compiler. As
such, it is intimately tied to the source version of the other half...

This is not the same as a complete compiler such as ghdl (mcode version)
which has no dependence on the gcc sources, and will build with any
reasonably compatible pair of Ada and C compilers (no dependence on C++
yet and I doubt there ever will be) : it might be feasible to eliminate
the mcode version's dependence on C altogether.

There is only one (ghdl-gcc) file that requires C++ : that as you can
probably guess is ortho-lang.c which is the entire C/C++ adapter between
ghdl (front end) and gcc (back end). Up to gcc4.8 it was pure C, and
only changed to C++ for compatibility with gcc4.8.

- Brian


_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to