#7021 closed bug (fixed)
Build GCC Hybrid failed due to missing Objective-C compiler
Reported by: | eu | Owned by: | nielx |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Documentation | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Description (last modified by )
- Installed nightly build 39924 x86gcc2hybrid on a Lenovo T61p laptop.
- svn checkout http://svn.haiku-os.org/haiku/buildtools/trunk haiku/buildtools
- svn checkout http://svn.haiku-os.org/haiku/haiku/trunk haiku/haiku
- mkdir haiku/haiku/generated.x86gcc2 && cd haiku/haiku/generated.x86gcc2/
- ../configure --build-cross-tools ../../buildtools
The build fails after a while when building binutils/gprof because of "Objective-C compiler not installed on this system".
cc -c -o flat_bl.o /boot/home/haiku/haiku/buildtools/legacy/binutils/gprof/flat_bl.m gcc: /boot/home/haiku/buildtools/legacy/binutils/gprof/flat_bl.m: Objective-C compiler not installed on this system make[4]: * [flat_bl.o] Error 1
The build fails regardless of "setgcc x86 gcc2" or "setgcc x86 gcc4".
I was trying then to build gcc2 from buildtools/legacy with Objective-C support, but the configure script does not have an option for that.
Quote from http://www.haiku-os.org/guides/building:
"Building Haiku from sources is a surprisingly simple process which allows developers to get started quickly developing on Haiku and allowing end users to experiment with the latest Haiku sources."
Not quite so!
Change History (3)
comment:1 by , 14 years ago
Component: | Build System → Documentation |
---|---|
Description: | modified (diff) |
Keywords: | Objective-C compiler removed |
Owner: | changed from | to
follow-up: 3 comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I updated a few pages to stress that when using Haiku, it comes with all of the pre-reqs and that the buildtools do not need to be built.
- http://www.haiku-os.org/guides/building/pre-reqs
- http://www.haiku-os.org/guides/building/get-source
If you've additional suggestions, please send a mail to either the haiku or haiku-web mailing list.
Replying to eu:
Actually it is even simpler under Haiku (the documentation applies to other platforms), since you don't even need to build the compilers. Changing ticket component to Documentation, though it's probably not quite the correct one.