From: Dan McMahill <address@hidden>
To: Jon Choy <address@hidden>
CC: address@hidden
Subject: Re: [Bug-gnucap] building guncap-0.35 in cygwin
Date: Tue, 28 Nov 2006 08:45:11 -0500
Jon Choy wrote:
I'm attempting to do a build in the most recent version of cygwin.
During the "make", I get the following errors:
Making all in modelgen
make[2]: Entering directory `/home/src/gnucap-0.35/modelgen'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/src/gnucap-0.35/modelgen'
Making all in src
make[2]: Entering directory `/home/src/gnucap-0.35/src'
make[2]: *** No rule to make target `d_bjt.cc', needed by `c_getckt.o'.
Stop.
make[2]: Leaving directory `/home/src/gnucap-0.35/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/gnucap-0.35'
make: *** [all] Error 2
I noticed in the announcement for a November release (which I also
tried) some statements about the link order being very important.
http://archives.seul.org/geda/dev/Nov-2006/msg00030.html
Could this be related? I'm dying to try gnucap out within cygwin and am
looking forward to the Verilog A release which is what intrigues me abou
this tool.
no, your problem is something else.
Do you have the file "/home/src/gnucap-0.35/src/d_bjt.model"?
in src/Makefile.in there is something like this:
.SUFFIXES: .model .cc .o .obj
and later:
c_getckt.${OBJEXT}: ${MODELSRCS}
%.cc : %.model %.h ${MODELGEN}
${MODELGEN} -cc $<
%.h : %.model ${MODELGEN}
${MODELGEN} -h $<
and d_bjt.cc is listed in MODELSRCS. So make should be able to figure out
from the suffix rule that if it has a d_bjt.model and needs a d_bjt.cc then
just run modelgen.
Just for kicks, what does
make --version
tell you?
I'll try to find some spare cycles to try a cygwin build tonight although
my cygwin install is probably a year old.
-Dan