> -----Original Message-----
> From: David G. Koontz [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 23, 2008 6:38 AM
> To: Jason Pyeron
> Subject: Re:[Ghdl-discuss] Release 0.27
> 
> > Jason Pyeron wrote:
> 
> > 
> > But I am kind of stuck with these run away GCC versions.
> > 
> > As I am not fully prepared to learn all about the GCC interfaces 
> > today, could I get a lay developers overview of what is 
> being used in the newer GCC interfaces?
> > 
> > 
> > 
> > Version Date GCC Sources Binaries (i686-pc-Linux)
> > 0.27 Jul 21 2008 4.2.4 ghdl-0.27.tar.bz2 ghdl-0.27-i686-pc-linux.tar
> > 
> 
> I previously had 0.25 installed showing it was versioned as  
> gcc 4.1.1 It ran fine with gcc  4.1.2 installed (OpenSuse 
> 10.2, updated).
> 
> I've gotten all the gcc sources, gnat sources, etc, and have 
> built ghdl before.  I was sort of dragging my feet on 0.26. 
> You see that the gcc version is changed and you wonder if 
> you'll run into problems compiling with a different gcc version.
> 
> Anyway, I installed 0.27 this evening, it ran find with with 
> gcc 4.1.2 installed.  I'd imagine the interface ghdl uses is 
> fairly static.  Digging around in ghdl and 
> /usr/local/libexec/gcc/i686-pc-linux-gnu/4.2.4/ghdl1
> show some ada file names that aren't in the ghdl 
> distributions, presumably found in an ada static library.
> 
> Poking around a bit in gcc we find
> 
> http://gcc.gnu.org/onlinedocs/gccint.pdf, which talks about 
> front ends.
> 
> There's also
> 
> http://tldp.org/HOWTO/GCC-Frontend-HOWTO.html
> (http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf
/GCC-Frontend-HOWTO.pdf)
> 
> The main thing is call back routines in ghdl used by the back 
> end.  There's
> configuration files describing arguments that can be passed.  
>  This stuff
> wouldn't change a lot, and 0.27 isn't a major release (nor 
> was 0.26 from the looks of it).  I'd imagine the interface 
> stuff to gcc is more at risk, and
> 4.2.4 is relatively minor (as was 4.1.2).
> 
> There's an example front end for a small language in Chapter 7.
> 
> I've gone through the gcc stuff some number of years ago when 
> I was designing a processor, exactly once, and a lots been 
> changed since then.
> The back end stuff can be quite a bit more elaborate.
> 

I was away, thanks this is exactly the primer I was looking for.



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited. 

 


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

Reply via email to