[haiku-commits] Re: r34262 - in haiku/trunk/src: build/libbe/app kits/app

  • From: Vincent Duvert <vincent.duvert@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 1 Dec 2009 22:25:48 +0100

Le 1 déc. 2009 à 05:40, Ryan Leavengood a écrit :

> From what I have heard from Maxime Haiku no longer builds on Mac OS X
> Snow Leopard. I assume this is because Snow Leopard is pretty much
> 64-bit now. So these changes may actually allow for Haiku to be built
> again on the latest Mac OS X.

I had done some work to get Haiku build on Snow Leopard, in 32 bit mode:
http://www.haiku-os.org/documents/dev/how_build_haiku_mac_os_x#comment-12211
It's a bit hackish, but working ;)

Building in 64 bit mode does not seem to work, though.
I tried to build r34429 without --use-32bits (but with my previous buildtools 
patch), but it failed when building
bfs_disk_system.cpp on the host target:
src/add-ons/kernel/file_systems/bfs/bfs.h: In member function ‘bool 
small_data::IsLast(const bfs_inode*) const’:
src/add-ons/kernel/file_systems/bfs/bfs.h:387: error: cast from ‘const 
small_data*’ to ‘fssh_addr_t’ loses precision
src/add-ons/kernel/file_systems/bfs/bfs.h:387: error: cast from ‘const 
bfs_inode*’ to ‘fssh_addr_t’ loses precision

Am I missing something ? The whole log is here: 
http://haiku.pastebin.com/m748419ea

Regards,
Vincent

Other related posts: