vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
982 stars 118 forks source link

Can we have Cygwin and MinGW, MinGW64 dlls for ms windows usage? #446

Open loquat opened 1 year ago

loquat commented 1 year ago

thanks in advance.

tueda commented 1 year ago

If you want Cygwin/MinGW/MinGW64 run-time libraries: please install Cygwin, MinGW or MinGW64.

If you want a FORM package in Cygwin/MinGW/MinGW64 distributions: please talk to the distributors.

If you want FORM as a run-time library: unfortunately, FORM is an application software and is not a library. So, currently, it cannot be built as a dynamic link library.

If you say that dynamically-linked FORM binaries built with Cygwin/MinGW/MinGW64 run-time libraries should be placed in each FORM release: I am open to accepting your pull request :-) Some efforts are needed in .github/workflows/deploy.yml. Probably first we must ensure that make check passes. #418 could be a problem.

I hope this answer will be helpful to you.

loquat commented 1 year ago

thanks for your explaination, it is very kind of you. unfortunately, it can not compile to dynamic link library how to use it in microsoft windows?

tueda commented 1 year ago

Personally, I use WSL.

For Cygwin/MinGW/MinGW64, which should work as Unix, you can also try the instructions to build binaries. You could try the --with-api=windows option for configure to use Windows API instead of POSIX, but then some functionalities based on POSIX are disabled.