X-Git-Url: http://www.average.org/gitweb/?p=pdns-pipe-nmc.git;a=blobdiff_plain;f=build;h=c1f039fd8aa96c19369207e049b1d4e071d0be7f;hp=fe589f915b9c51bc164c4c987583b40ecabf4cac;hb=92504303416dfc46f1a4e4ed45ddd3203919cf8f;hpb=2c78be5966c84f6791127d7f800937cde70278d2 diff --git a/build b/build index fe589f9..c1f039f 100755 --- a/build +++ b/build @@ -9,6 +9,12 @@ echo "Making $file.$sfx" # -optl-pthread -pgml g++ "$file" # but cannot make it "only glibc is shared". And with static glibc, # getaddrinfo does not work on systems with different glibc. +# +# To build with ghc, run this: +#ghc --make -optP-include -optPdist/build/autogen/cabal_macros.h "$file" +# but it is still necessary to run `cabal configure` before to generate +# the file `dist/build/autogen/cabal_macros.h`. + cabal build case $? in 0) ;;