[haiku-bugs] Re: [Haiku] #10014: bring back setgcc in PM

  • From: "zooey" <trac@xxxxxxxxxxxx>
  • Date: Tue, 24 Sep 2013 07:36:53 -0000

#10014: bring back setgcc in PM
----------------------------+-----------------------------------
   Reporter:  kallisti5     |      Owner:  bonefish
       Type:  enhancement   |     Status:  new
   Priority:  normal        |  Milestone:  R1/beta1
  Component:  Build System  |    Version:  R1/Package Management
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+-----------------------------------

Comment (by zooey):

 Replying to [ticket:10014 kallisti5]:
 > setgcc was a great way to adjust your compiler in the non-PM branches.

 Well, it was a rather crude way to adjust the compiler, it has never been
 great, really: it changed on disk structures to switch the compiler, which
 means that you couldn't use setgcc in one shell while already having a
 build running in another.

 On PM-Haiku, you should be able to activate a specific compiler by adding
 its path to the 'PATH' environment variable. This could be done by a
 script named 'setgcc', of course ... patches welcome ;-)

 > The new PM builds use an odd naming convention for gcc:
 > gcc2h-----
 > gcc - gcc 2
 > gcc_x86 - gcc 4
 >
 > gcc4h-----
 > gcc - gcc 4
 > gcc_x86_gcc2 - gcc 2

 Hm, what's add about that? The primary compiler uses the short name and
 any secondary compiler is suffixed by its target Haiku architecture.
 What other naming scheme do you suggest?

--
Ticket URL: <http://dev.haiku-os.org/ticket/10014#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: