2010/1/15 Greg Beaton <[email protected]>: > What is the point of updating the gcc you use? Don't you just run the > risk of making incompatible with existing systems. For example, I just > bought a MacBook Pro last summer. It was shipped with gcc 4.0.1. If > its good enough for Apple, what is gained by 3rd party software using > more recent versions. Don't you then have to bundle gcc with GHDL? gcc 4.4 has some optimizations (cloogppl, ppl, ...), that could make the simulations faster, I think. Maybe slower, who knows.
If different versions of gcc weren't giving anything new, why are people developing it? Newer gccs also support new versions of the language standards (so, apart from VHDL), give more clever warnings about possible programmer errors, support more platforms (for example, ARM-EABI), and include bugfixing. About making anything incompatible, this happens under some kind of operating systems (whatever GNU/Linux LSB-compliant I've seen, for example), in the same way as multiple software and software versions are a hell to maintain in Windows. Specifically, I use NixOS and the nix package system, and I am not afraid of getting any incompatibility at all at any software update. Back to ghdl in gcc 4.4... I've made some tests, looking for any trivial problems I could solve myself, and I just hit with ortho-lang.c requiring a header file gcc 4.4 lacks: tree-gimple.h. I think I will not explore much more into it, and I will wait for Tristan to release ghdl for another gcc version. I will keep using 0.29 with gcc 4.3.4. Regards, Lluís. > On Fri, Jan 15, 2010 at 12:59 AM, Tristan Gingold <[email protected]> wrote: >> On Fri, Jan 15, 2010 at 12:13:53AM +0100, Lluís Batlle wrote: >>> Hello, >>> >>> are there any plans to make ghdl build with the gcc 4.4.x tree? >> >> Hi, >> >> I don't know if I will switch to gcc 4.4.x or directly to gcc 4.5 >> >>> If it is supposed to work, I can attempt the builds. How tied is ghdl >>> to the gcc version? >> >> It might work, or not. The file that makes the interface, ortho-lang.c >> might require some adjustments between gcc versions. >> >>> In my case, I build in nixpkgs ghdl with the gcc 4.3.4 source tree, >>> using gnat and gcc from the 4.4.2 tree, and it works great. But I >>> would like to know if I should attempt to build ghdl with more recent >>> versions. >> >> Thanks, >> Tristan. >> >> _______________________________________________ >> Ghdl-discuss mailing list >> [email protected] >> https://mail.gna.org/listinfo/ghdl-discuss >> > > _______________________________________________ > Ghdl-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/ghdl-discuss > _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
