b66535480a6a339bc409c017b176e9e06f5a0b62
				
			
			
		
	See https://discuss.ocaml.org/t/problem-to-compile-a-dll-on-mingw/3661/2
for the short explanation.
More in depth discussions:
- 
the patch that explain why the behaviour changed: https://github.com/ocaml/ocaml/pull/1535
 - 
a discussion which allow to understand the problem: https://github.com/ocaml/ocaml/issues/6411
 
I had two choices:
- either use 
eval $(ocaml-env cygwin) - or add a 
-link -static-libgccat link time 
The first solution works "for me": the PATH environment variable is modified on my computer, and things are working fine. But since my goal is to distribute the DLL to others, who do not necessarily have cygwin installed, I chose the second solution.
Branches
- master : Do not work
 - solve_linking_problem : Solution
 
Description
				Reproduce a DLL creation problem with 4.07.1+mingw32c that did not occur with 4.06.1+mingw32c.
						
						
						
					Languages
				
				
								
								
									C
								
								85.4%
							
						
							
								
								
									Makefile
								
								11.7%
							
						
							
								
								
									C++
								
								2.9%