On 10/29/2013 01:16 AM, John Scipione wrote:
So, the first problem here is that the BPrivate::Storage::Exception isn't getting caught as it should. Instead of getting an uncaught exception error I should get some sort of error message printed to stderr. Perhaps -f-no-exceptions is getting passed to the compiler somewhere?
I don't think so. If you have access to a usable debugger, you could set an exception breakpoint and see what happens.
The second problem of course is that it isn't setting the vmdk bootable. I'm a little confused here because I can't imagine how this ever worked unless I'm mistaken about the build system trying to read in a Mach-O binary. Perhaps it is suppose to call the Haiku makebootable binary located in generated/objects/haiku/x86_gcc2/release/bin/makebootable/platform/bios_ia32/makebootable instead and not the host binary?
On Darwin the build host makebootable is supposed to use an attribute instead of a resource (cf. src/tools/makebootable/platform/bios_ia32/Jamfile and src/bin/makebootable/platform/bios_ia32/makebootable.cpp). If that doesn't work, the platform detection might not work correctly somewhere.
CU, Ingo