Re: [pure-lang-users] 64-bit build-problems
Status: Beta
Brought to you by:
agraef
|
From: Libor S. <li...@gm...> - 2008-04-30 23:01:10
|
Me too! Trying to add the deb depository as a new Ubuntu software source (the recommended method) complained about the indexes being out of date and failed. I then downloaded the .deb files manually and got the LLVM working from the .deb files in a couple of clicks. Much easier than compiling it all! Now onto the Pure! Libor 2008/4/30 Eddie Rucker <er...@bm...>: > I almost have it. I have the following make errors: > > g++ -g -Wall `llvm-config --cppflags` -c -o runtime.o runtime.cc > runtime.cc: In function 'pure_expr* pure_intval(pure_expr*)': > runtime.cc:678: error: cast from 'void*' to 'uint32_t' loses precision > runtime.cc: In function 'pure_expr* pointer_to_bigint(void*)': > runtime.cc:728: error: cast from 'void*' to 'uint32_t' loses precision > runtime.cc:733: error: cast from 'void*' to 'uint32_t' loses precision > make: *** [runtime.o] Error 1 > > I change uint32_t to uint64_t in each case and make compiled everything. > However, when you run pure you get funny things: > > > fact 0 = 1; > > fact n = n * fact (n-1); > > fact 4; > 1 > > > > E.R. > |