Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

GHDL source compilation error

Status
Not open for further replies.

harerama

Member level 4
Joined
Sep 21, 2011
Messages
79
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
Bangalore,India
Activity points
1,747
Hi all.I trying to compile GHDL source code,once i ran make command it gave below error.
Attached make file for your reference.
Procedure for compilation given in manual you can compile:
the GHDL back-end (ghdl1) in ./translate:
Code:
$ make BE=gcc

make[1]: Entering directory `/home/raghu/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/ghdl/translate'
make: *** [compiler] Error 2


[ortho_srcdir=..
orthobe_srcdir=$(ortho_srcdir)/gcc
agcc_objdir=.
agcc_srcdir=$(ortho_srcdir)/gcc
AGCC_GCCSRC_DIR:=$(HOME)/dist/gcc-4.3.2
AGCC_GCCOBJ_DIR:=$(AGCC_GCCSOBJ_DIR)-objs/
SED=sed
GNATMAKE=gnatmake
CC=gcc

all: $(ortho_exec)

include $(orthobe_srcdir)/Makefile.inc

ORTHO_BASENAME=$(orthobe_srcdir)/ortho_gcc
ORTHO_PACKAGE=Ortho_Gcc

LIBFLAGS=$(HOME)/dist/mpfr-2.3.1/.libs/libmpfr.a $(HOME)/dist/gmp-4.2.2/.libs/libgmp.a
#LIBFLAGS=-lmpfr -lgmp

$(ortho_exec): $(AGCC_DEPS) $(ORTHO_BASENAME).ads force
	$(GNATMAKE) -m -o $@ -g -aI$(ortho_srcdir) \
	 -aI$(ortho_srcdir)/gcc $(GNAT_FLAGS) ortho_gcc-main \
	 -bargs -E -largs $(AGCC_OBJS) \
	  $(AGCC_GCCOBJ_DIR)libcpp/libcpp.a \
	  $(AGCC_GCCOBJ_DIR)libiberty/libiberty.a \
	  $(AGCC_GCCOBJ_DIR)libdecnumber/libdecnumber.a \
	  $(LIBFLAGS) #-static

clean: agcc-clean
	$(RM) -f *.o *.ali ortho_nodes-main
	$(RM) b~*.ad? *~

distclean: clean agcc-clean


force:

.PHONY: force all clean


My versions are
gcc version 4.6.3
GNAT 4.6.3
GHDL 0.29 (20100109) [Sokcho edition]]
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top