Hi, Cloning the fresh GHC source, I can validate GHC HEAD on Linux. And I understand "install dir" is correct.
The problem on Mac is that "ghc-clang-wrapper" is a shell script. I cannot find a way to treat strings, which includes spaces, correctly with shell scripts. So, I replaced "install dir" to "install_dir" in three files and can validate GHC HEAD on Mac finally. Questions: * What is the purpose of spaces in "install dir"? * Would you tell me the plan to provide C preprocessor program by GHC itself? --Kazu > Hi Richard, > >> Would this fix #9047? Yay! > > I believe so. > > But currently "validate" itself fails: > > ---- > for i in driver/ghc-usage.txt driver/ghci-usage.txt > includes/dist-derivedconsta > nts/header/platformConstants settings; do case $i in *.a) /usr/bin/install -c > -m > 644 $i "/Users/kazu/work/ghc/bindisttest/install > dir/lib/ghc-7.9.20140619"; > ranlib "/Users/kazu/work/ghc/bindisttest/install > dir/lib/ghc-7.9.20140619"/` > basename $i` ;; *.dll) /usr/bin/install -c -m 755 $i > "/Users/kazu/work/ghc/bin > disttest/install dir/lib/ghc-7.9.20140619" ; : > "/Users/kazu/work/ghc/bindistt > est/install dir/lib/ghc-7.9.20140619"/`basename $i` ;; *.so) > /usr/bin/install > -c -m 755 $i "/Users/kazu/work/ghc/bindisttest/install > dir/lib/ghc-7.9.20140 > 619" ;; *.dylib) /usr/bin/install -c -m 755 $i > "/Users/kazu/work/ghc/bindistte > st/install dir/lib/ghc-7.9.20140619";; *) /usr/bin/install -c -m 644 $i > "/Us > ers/kazu/work/ghc/bindisttest/install dir/lib/ghc-7.9.20140619"; esac; done > /usr/local/bin/gcc -E -m64 -undef -traditional -Wno-invalid-pp-token > -Wno-unico > de -Wno-trigraphs -P -DINSTALLING > -DLIB_DIR='"/Users/kazu/work/ghc/bindisttest/i > nstall dir/lib/ghc-7.9.20140619"' > -DINCLUDE_DIR='"/Users/kazu/work/ghc/bindist > test/install dir/lib/ghc-7.9.20140619/include"' -DPAPI_INCLUDE_DIR="" > -DPAPI_L > IB_DIR="" -DFFI_INCLUDE_DIR= -DFFI_LIB_DIR= '-DFFI_LIB="Cffi"' -x c > -Iincludes - > Iincludes/dist -Iincludes/dist-derivedconstants/header > -Iincludes/dist-ghcconsta > nts/header rts/package.conf.in -o rts/dist/package.conf.install.raw > clang: error: no such file or directory: 'dir/lib/ghc-7.9.20140619"' > clang: error: no such file or directory: 'dir/lib/ghc-7.9.20140619/include"' > ---- > > In the bindisttest directory, the "dir" directory does not exist. > Strangely "install dir" directory exist instead. > > P.S. > > Yesterday I could not "validate" for GHC HEAD on Linux either for > another reason. > > --Kazu > _______________________________________________ > ghc-devs mailing list > [email protected] > http://www.haskell.org/mailman/listinfo/ghc-devs _______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
