With win7 32 bit and epd-7.1-2 i was able to successfully build a loadable nrnmech.dll
after building the latest repository sources with:
- Code: Select all
../nrn/configure '--prefix=/home/hines/neuron/uri' \
'--with-nrnpython=/cygdrive/c/Python27/python' \
'CC=gcc-3' 'CXX=g++-3' 'use_pthread=no' \
'PYLIB=-L/cygdrive/c/Python27/libs -lpython27' \
'PYLIBDIR=/cygdrive/c/Python27/libs' \
'PYLIBLINK=-L/cygdrive/c/Python27/libs -lpython27' \
'PYINCDIR=/cygdrive/c/Python27/include'
make
make mswin
The dos command box environment I used is
- Code: Select all
set PYTHONPATH=c:/marshalnrn/nrn/lib/python;c:/marshalnrn/nrn/bin
set NEURONHOME=c:/marshalnrn/nrn
set PATH=%PATH%;c:\marshalnrn\nrn\bin
However, to use mknrndll in an rxvt terminal, i did have to set
export N=/cygdrive/c/marshalnrn/nrn
and also edit $N/lib/mknrndll.mak
to change all the gcc to $(CC) and set the latter to
CC=gcc-3
In other words, I did not have a problem with 'use_pthread=no'.
If you do not invoke 'use_pthread=no' and wish to use the mingw compilers supplied by cygwin
it turns out that most of the nrnwin7-64-epd.patch I sent to you has the changes needed to avoid the
boolean conflict. See nrntypes.h. I'll experiment with factoring the patch into two pieces. the first
would fix the 32 bit problems and the second would do the minor additional changes to fix the remaining
64 bit problems.