Permalink
Browse files

Try to fix #119 by adding a couple libc functions and making sure tha…

…t minlibc is linked in.
  • Loading branch information...
acw committed May 17, 2017
1 parent 68734b2 commit a8dc3f4b1fc22fadfda0734be89b73393f85a0f7
Showing with 2 additions and 2 deletions.
  1. +1 −1 halvm-ghc
  2. +1 −1 src/scripts/ldkernel.in
Submodule halvm-ghc updated 1 files
+1 −1 rts/minlibc
View
@@ -76,6 +76,6 @@ while [ $# != 0 ] ; do
esac
done
LDCMD="ld ${LINKER_SCRIPT} -nostdlib ${START_FILE} $ARGS $LIBS -L${halvm_dir}/rts-1.0 ${LIBM_FILE}"
LDCMD="ld ${LINKER_SCRIPT} -nostdlib ${START_FILE} $ARGS $LIBS -L${halvm_dir}/rts-1.0 ${LIBM_FILE} -lminlibc"
#echo $LDCMD
$LDCMD

0 comments on commit a8dc3f4

Please sign in to comment.