Re: BSIM plugins with MINGW

Holger Vogt <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
Hi all,

it works with plain mingw (gcc345) and Windows XP, using the old build 
system and snapshot gnucap-2009-07-21:

cd /gnucap-2009-07-21

./configure.old
make

stop it after it builds modelgen
copy modelgen.exe from /gnucap-2009-07-21/modelgen
to /gnucap-2009-07-21/src/MSW

cd src

edit Make2.mingw32:
old:
CCC = i586-mingw32msvc-g++
DLLTOOL = i586-mingw32msvc-dlltool
new:
CCC = g++
DLLTOOL = dlltool

make mingw

yields "gnucap.exe" in MSW
yields libgnucap.a in MSW 

untar a models package (e.g. models-bsim) to
/gnucap-2009-07-21/models-bsim

cd models-bsim

edit Make2.mingw32:
old:
GNUCAP_INCLUDE = ../Gnucap
CCC = i586-mingw32msvc-g++
DLLTOOL = i586-mingw32msvc-dlltool
new:
GNUCAP_INCLUDE = ../../src
CCC = g++
DLLTOOL = dlltool
 
copy Make2.mingw32 to Make2

make



Regards

Holger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.