Makoto Yoneya wrote:
Dear GROMACS users:
I'd like to get small sized shared library version GROMACS binary on
windows-PC with CYGWIN (to use in some course).
Even configured with "--enable-shared", the compiled binary set looks
not the shared library version (no DLLs and the total binary set
size was over 100MB).
You can't build DLLs since the cygwin build tools are unix-style, and
the GROMACS build strategy is unix-specific. --enable-shared also
probably won't work for unix-style shared libraries, because the dynamic
linker is probably the Windows ld.exe, which can't deal with unix-style
shared libraries.
It would be possible to make GROMACS write proper DLLs using the cygwin
dlltool functionality, but nobody has ever cared enough to do it. I'd
struggle to imagine a useful Windows environment where providing 100MB
of statically-linked executables was a serious problem. For a course,
you won't even need the whole executable set. mdrun, grompp, editconf,
pdb2gmx, genion, g_energy, trjconv and maybe one or two more analysis
tools to suit the course should do it.
Mark
Actually the compiled GROMACS binary correctly runs.
The problem was just the GROMACS was not shared library version I'd
expected.
I'd tried both gromacs-3.3.3 and gromacs-4.0.4 but the situations were same
(with ./configure --enable-shared --without-x and appropriate CPPFLAGS and
LDFLAGS).
So, my question was just how to get the shared library version on CYGWIN
with
DLLs (like cyggmx-4.dll, cygmd-4.dll etc.).
Could someone kindly give me info?
Thank you for advance.
Makoto Yoneya, Dr.
AIST, Japan
_______________________________________________
gmx-users mailing list [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [email protected].
Can't post? Read http://www.gromacs.org/mailing_lists/users.php
_______________________________________________
gmx-users mailing list [email protected]
http://www.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to [email protected].
Can't post? Read http://www.gromacs.org/mailing_lists/users.php