> I would like to compile Haiku on a Linux box, with gcc4. I tried to > follow the readme files, but probably I missed something, because the > compilation fails with gcc errors, like this: "cast from > 'fssh_off_t*' to 'fssh_addr_t' loses precision" in several places (in > src/add-ons/kernel/file_systems/bfs/bfs.h, > src/add-ons/kernel/file_systems/bfs/BPlusTree.cpp). I can change the > addr_t casts to cast (uint8*), but it's definitely not a good > solution. How can I fix it globally ? Any help is appreciated. > I'd suppose you are on a 64 bit machine... Check the readme and dig the ml archive: http://search.gmane.org/?query=64bit&group=gmane.os.haiku.devel François.