> On Thu, 16 Jan 2014 03:15:06 +0100 (CET)
> [email protected] wrote:
> > Re: [Ghdl-discuss] ghdl-0.31 source release!
> > This is controlled by grt/Makefile.inc.  There is already a case
> > for
> > i386 FreeBSD.
> > 
> 
> I tried a few variations in [translate/grt/Makefile.inc] without any
> success. Since I don't have anything like a comprehensive
> understanding
> of what is going on (yet), it might be worthwhile to ask for
> guidance.
> 
> 
> GRT stack implementation for amd64 (x86_64)
> translate/grt/config/amd64.S
> 
> --- Makefile.inc.orig   2014-01-16 09:45:09.000000000 -0500
> +++ Makefile.inc        2014-01-16 09:57:52.000000000 -0500
> @@ -56,7 +56,12 @@
>  ifeq ($(filter-out i%86 freebsd%,$(arch) $(osys)),)
>    GRT_TARGET_OBJS=i386.o linux.o times.o
>    GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS)
> -  ADAC=gnatgcc
> +  ADAC=ada
> +endif
> +ifeq ($(filter-out x86_64 freebsd%,$(arch) $(osys)),)
> +  GRT_TARGET_OBJS=amd64.o linux.o times.o
> +  GRT_EXTRA_LIB=-lm $(GRT_ELF_OPTS)
> +  ADAC=ada
>  endif
>  ifeq ($(filter-out i%86 darwin%,$(arch) $(osys)),)
>    GRT_TARGET_OBJS=i386.o linux.o times.o
> 
> [build then test...]
> 
> $ ghdl -r dlx_test_behaviour --assert-level=note
> 0 X"20020000"
> 4 X"AC020018"
> 8 X"20420001"
> 12 X"6441000A"
> 16 X"1420FFF0"
> 20 X"44000000"
> ghdl: exec error

This doesn't look that bad.  Are you trying the development branch or 0.31 ?
I may have broken the development branch.

Tristan.

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

Reply via email to