Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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 bonefish)

  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 (3)

in reply to:  description comment:1 by bonefish, 14 years ago

Component: Build SystemDocumentation
Description: modified (diff)
Keywords: Objective-C compiler removed
Owner: changed from bonefish to nielx

Replying to eu:

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!

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.

comment:2 by mmadia, 14 years ago

Resolution: fixed
Status: newclosed

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.

If you've additional suggestions, please send a mail to either the haiku or haiku-web mailing list.

in reply to:  2 comment:3 by eu, 14 years ago

Replying to mmadia:

Thanks. I think your clarifications are welcome.

Note: See TracTickets for help on using tickets.