Thank you for the investigation. I will try to understand why revision 143 doesn't work.
It would be nice to have a nice MacOS-X installer, but I have no experience with that. (and next work could be an IOs version :-) Tristan. ----- "David G. Koontz" <[email protected]> a écrit : > It's only revision 143 that bombs out when running (segmentation > violation). > Anything earlier runs just fine. > > Summary Instructions: > --------------------- > > cd to a suitable location to build ghdl. This serves as an > installation > directory and requires a little of 36 MBs (decimal in Snow Leopard) > > Macbook: svn -r43 co svn://svn.gna.org/svn/ghdl/trunk ghdl > > Macbook: cd ghdl/translate/ghdldrv > > edit Makefile to make the target - target=i686-darwin > This assignment can be passed on the command line to make > > Macbook: rm ortho_code-x86-flags.ads > > Macbook: make > > Macbook: ln -s ghdl_mcode ghdl > > (you want the current directory in your search path ($PATH) now.) > > Macbook: make install.mcode > > ghdl -v to verify it does something. > > Macbook: svn -r142 diff ghdl_revision_143 > Index: ghdl_revision_143/translate/ghdldrv/ghdlrun.adb > =================================================================== > --- ghdl_revision_143/translate/ghdldrv/ghdlrun.adb (revision 142) > +++ ghdl_revision_143/translate/ghdldrv/ghdlrun.adb (working copy) > @@ -144,6 +144,7 @@ > pragma Export (C, Ghdl_Elaborate, "__ghdl_ELABORATE"); > > type Elaborate_Acc is access procedure; > + pragma Convention (C, Elaborate_Acc); > Elaborate_Proc : Elaborate_Acc := null; > > procedure Ghdl_Elaborate is > Index: ghdl_revision_143/translate/ghdldrv/ortho_code-x86-flags.ads > (rebuild ortho_code-x86-flags.ads for Macosx, OK) > > Index: ghdl_revision_143/translate/ghdldrv/Makefile > (target=i686-darwin, OK) > > -- > > I went and rechecked that I indeed could build and run the mcode > version of > ghdl revision 143 on Linux. > > > > > > _______________________________________________ > 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
