Wednesday, December 10, 2008

v8 not build on x86_64

Stupid Google, why would your v8 not build on 64bit system?

scons mode=release library=shared prefix=/usr wordsize=64 || return 1

g++ -o obj/release/third_party/jscre/pcre_compile.os -c -march=x86-64 -mtune=generic -O2 -pipe -ansi -w -O3 -fomit-frame-pointer -m32 -fno-rtti -fno-exceptions -ansi -w -O3 -fomit-frame-pointer -m32 -fPIC -DENABLE_LOGGING_AND_PROFILING -DSUPPORT_UTF8 -DNO_RECURSE -DSUPPORT_UCP

Look at that dreadful -m32 ...

Monday, December 8, 2008

back to archlinux

stupid windows it doesnt' let me fucking build llvm and hssdl doesn't work well on fucking windows fuck fuck fuck.
so, pacman -Syu then
pacman -Sf zsh #for http://www.archlinux.org/news/421/
rm /usr/lib/klibc/include/asm #for http://www.archlinux.org/news/411/
Then,
Section "ServerFlags"
 Option  "AllowEmptyInput" "false"
EndSection
for http://www.archlinux.org/news/424/

Saturday, December 6, 2008

todo

http://alien.luaforge.net/
http://luaforge.net/projects/luaffi/
http://cython.org/
http://code.google.com/apis/v8/embed.html

installing cabal packages on windows vista

http://www.haskell.org/ghc/docs/latest/html/Cabal/builders.html
By default on windows, --datadir=C:\Program Files\Haskell. And vista complains.
So,

runghc Setup.lhs configure --prefix=C:\Users\sam\haskell --datadir=$prefix\share