Hi..tgingold,

> you need to copy the ghdl source files in the gcc build environment.

ghdl source code i kept in ghdl/translate/gcc/ghdl-0.29.tar.bz2

> The simplest solution is to build (on i386) using BE=mcode

Please elobrate i didn't get it.

I using a procedure to compile from github nick/ghdl
### Compiling for development.  ###
###################################

These steps can make GHDL development hard.  You can avoid to compile GCC
everytime.  To do this, edit ortho/gcc/Makefile and set two variables:
AGCC_GCCSRC_DIR is the GCC sources directory, while AGCC_GCCOBJ_DIR is where
you have compiled GCC+GHDL once.  Then, you can compile:
the GHDL back-end (ghdl1) in ./translate:
 $ make BE=gcc

once i compiled gave below error
make[1]: Entering directory `/home/raghu/Desktop/ghdl/translate'
make[1]: *** No rule to make target `-objs/gcc/gtype-vhdl.h', needed
by `ortho-lang.o'.  Stop.
make[1]: Leaving directory `/home/raghu/Desktop/ghdl/translate'
make: *** [compiler] Error 2

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

Reply via email to