Opened 14 years ago

Last modified 14 years ago

#7021 closed bug

Build GCC Hybrid failed due to missing Objective-C compiler — at Initial Version

Reported by: eu Owned by: bonefish
Priority: normal Milestone: R1
Component: Documentation Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

  1. Installed nightly build 39924 x86gcc2hybrid on a Lenovo T61p laptop.
  2. svn checkout http://svn.haiku-os.org/haiku/buildtools/trunk haiku/buildtools
  3. svn checkout http://svn.haiku-os.org/haiku/haiku/trunk haiku/haiku
  4. mkdir haiku/haiku/generated.x86gcc2 && cd haiku/haiku/generated.x86gcc2/
  5. ../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 (0)

Note: See TracTickets for help on using tickets.