[haiku-bugs] [Haiku] #10082: Installing gcc with pkgman results in a broken gcc

  • From: "jessicah" <trac@xxxxxxxxxxxx>
  • Date: Thu, 10 Oct 2013 22:51:50 -0000

#10082: Installing gcc with pkgman results in a broken gcc
-----------------------+------------------------------
 Reporter:  jessicah   |        Owner:  nobody
     Type:  bug        |       Status:  new
 Priority:  normal     |    Milestone:  R1
Component:  - General  |      Version:  R1/Development
 Keywords:             |   Blocked By:
 Blocking:             |  Has a Patch:  0
 Platform:  All        |
-----------------------+------------------------------
 I installed gcc using `pkgman install gcc`; pretty straight-forward. Then
 I tried to compile some software, and it couldn't compile anything, with
 the following error:


 {{{
 /packages/gcc-2.95.3/.self/develop/tools/i586-pc-haiku/bin/ld: crti.o: No
 such file: No such file or directory
 }}}

 Indeed, running a query I couldn't find crti.o. It also seems a large
 majority of headers are missing (there was no iostream header for
 example).

 I then installed the gcc_x86 package to see if that would help, since it's
 a gcc2h build. Looking at the gcc_x86 package, it looks vastly more
 complete than the gcc package (headers exist, for example). But I still
 couldn't run gcc2 successfully.

 Also, is there a haiku_devel package that includes all the Haiku headers?
 Where would one get those from using pkgman?

--
Ticket URL: <http://dev.haiku-os.org/ticket/10082>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: