Skip to content
Snippets Groups Projects
Commit f9a515ef authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

add some remarks about makefile settings on windows

parent 5b557442
No related branches found
No related tags found
No related merge requests found
...@@ -658,7 +658,16 @@ utilities. ...@@ -658,7 +658,16 @@ utilities.
For Cygwin and the MinGW cross-compilers, suitable makefiles are For Cygwin and the MinGW cross-compilers, suitable makefiles are
provided in src/MAKE/MACHINES. When using other compilers, like provided in src/MAKE/MACHINES. When using other compilers, like
Visual C++ or Intel compilers for Windows, you may have to implement Visual C++ or Intel compilers for Windows, you may have to implement
your own build system. Since none of the current LAMMPS core developers your own build system. Due to differences between the Windows OS
and Windows system libraries to Unix-like environments like Linux
or MacOS, when compiling for Windows a few adjustments may be needed:
Do not set the -DLAMMPS_MEMALIGN define (see LMP_INC makefile variable)
Add -lwsock32 -lpsapi to the linker flags (see LIB makefile variable)
Try adding -static-libgcc or -static or both to the linker flags when your
LAMMPS executable complains about missing .dll files :ul
Since none of the current LAMMPS core developers
has significant experience building executables on Windows, we are has significant experience building executables on Windows, we are
happy to distribute contributed instructions and modifications, but happy to distribute contributed instructions and modifications, but
we cannot provide support for those. we cannot provide support for those.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment