On Wed, May 22, 2013 at 12:14:14PM -0700,
d23...@gmail.com wrote:
> It builds just fine, if you follow the instructions on
developer.mozilla.org (especially the case sensitive filesystem parts)
>
> I had to do 3 extra things (For the record, i'm using OSX 10.8.3):
> - elf.h was not on the build path. I symlinked external/elfutils/libelf/elf.h to /usr/local/include
> - incorrect arm-eabi-gcc is selected. I symlinked B2G/prebuilt/linux-* to B2G/prebuilt/darwin-*
> - gnu-sed is needed. brew install gnu-sed. Make sure /usr/local/bin is on your path before /usr/bin.
Please file bug reports about at least the first two items there, if you
haven't already. People shouldn't need to symlink target headers into
the host's /usr/local/include, and it certainly shouldn't be the case
that `setpaths` in build/envsetup.sh sets $prebuiltdir (which I think is
where that part of $PATH should be coming from) to a linux-* tree when
run on a Mac.
--Jed