In order to compile a given source code using static linking
1 2 |
|
there is a need to pass two additional flags to ghc
like
-optl-static
-optl-pthread
1
|
|
then
1 2 3 4 |
|
In order to compile a given source code using static linking
1 2 |
|
there is a need to pass two additional flags to ghc
like
-optl-static
-optl-pthread
1
|
|
then
1 2 3 4 |
|