[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA: Icarus Verilog Snapshot 20040828



Steve -

> There is now an "sft" file that describes to the compiler the return
> value of system functions. This allows user supplied system functions
> to have interesting return types. See "SYSTEM FUNCTIO TABLE FILES" in
> the iverilog man page. Include a sft file for the system functions,
> and move the system functions over to that mechinism.

When compiling from pristine sources,

/usr/bin/install -c -m 644 system.sft /home/larry/lib/ivl/system.sft
/usr/bin/install: cannot stat `system.sft': No such file or directory
make[1]: *** [/home/larry/lib/ivl/system.sft] Error 1
make[1]: Leaving directory `/scratch/larry/src/verilog-20040828-bin/vpi'

The fix is simple:

--- vpi/Makefile.in.orig	Sun Jun 20 12:03:00 2004
+++ vpi/Makefile.in	Sun Aug 29 22:53:33 2004
@@ -120,7 +120,7 @@
 	$(STRIP) $(strip_dynamic) $(vpidir)/system.vpi
 
 $(libdir)/ivl/system.sft: system.sft
-	$(INSTALL_DATA) system.sft $(libdir)/ivl/system.sft
+	$(INSTALL_DATA) $< $@
 
 installdirs: ../mkinstalldirs
 	$(srcdir)/../mkinstalldirs $(vpidir)

    - Larry