> Hi, > > file gcc-4.2.4/INSTALL/prerequisites.html report: ... In order to build > the Ada compiler (GNAT) you must already have GNAT installed because > portions of the Ada frontend are written in Ada (with GNAT extensions.) > ... > > I've installed a gcc 3.4.6 without ada support, and have no root access. > Where can i find a prebuild ada compiler?
Yeah I remember dealing with this same stuff as well on Solaris. I had an older GNAT and had to basically use it to build newer and newer versions of GNAT and gcc until I was up to a recent release. If you are using Linux though, you're in much better shape, since people have already done this for you. I find the gcc-4.1.2 compiler a very well behaved and nice compiler to use for the Solaris port of GHDL. I highly doubt there are significant performance differences between it and whatever the bleeding edge of gcc is. And its called bleeding edge for a reason. You do get cut once in a while cause these releases are the least tested and validated of them all. Moreoever, I have noticed that the latest versions of gcc cross compilers for things like uCLinux and so forth tend to hang back a few versions. When I last checked, their distributions were using gcc-4.1.1 ... So given these convergences, I suggest you build with 4.1.2, since the 4.2.4 (and newer) goes looking for arbitrary precision libraries and other stuff that you may or may not have installed, and it tends to whine and abort the configure script if you don't micromanage it with the appropriate disable arguments. That reminds me... I really should upload the Solaris port to the GHDL website. Apologies to Tristan about that. I've just been busy with work. But I will do it soon. === Anyway, if you need a Solaris port, let me know and I will try to move faster. Thanks also to Tristan for the amazing help way back when when GHDL would crash on SPARC, which has strict memory alignment, but it would work OK on x86 with its tolerance for unaligned accesses, presumably with some performance penalty. S. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
