Usage of gg:usr
  • Butterfly
    Butterfly
    munk
    Posts: 94 from 2006/3/27
    Does anyone use the gg:usr drawer? What files have been put there and into which directory?
  • »02.05.06 - 09:54
    Profile
  • MorphOS Developer
    Krashan
    Posts: 1107 from 2003/6/11
    From: Białystok...
    GG:usr/include for example is the place for includes to third party system components. For example Reggae and TTEngine install their includes there.
  • »02.05.06 - 10:04
    Profile Visit Website
  • MorphOS Developer
    Henes
    Posts: 507 from 2003/6/14
    In my case, also:
    gg:usr/bin for svn, sdl-config, freetype-config...
    gg:usr/lib/ for extra lib#?.a

    It could also be usefull to store extra man pages and more.

    Please note some people prefer to move all additional files into gg:usr/local/bin, lib, include...
  • »02.05.06 - 10:19
    Profile Visit Website
  • Butterfly
    Butterfly
    munk
    Posts: 94 from 2006/3/27
    Quote:

    Krashan wrote:
    GG:usr/include for example is the place for includes to third party system components. For example Reggae and TTEngine install their includes there.

    That can get nasty then :-( IMHO it was unfortunate that gg:usr was advertized as user space. The include directory will cause problems. I am working on a binutils/gcc update and it will (probably) use usr:local as installation prefix. It could continue using gg: as installation place if thats prefered. However, the location for the default includes changes from gg: to usr: because thats an internal GCC expectation for a native compiler. The change to gg: was always cumbersome. Since this clashes with the current gg:usr usage for includes, all headers from there must move. That could be usr:local/include, <prefix>/ppc-morphos/include or usr:local/os-include (through setenv C_INCLUDE_PATH). I hope that change won't cause to much confusion...
  • »03.05.06 - 12:47
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Wishmaster
    Posts: 342 from 2003/6/29
    I don't know if I understood correctly what you mean, but gg:usr is == usr:
    Pegasos PPC
  • »03.05.06 - 16:01
    Profile
  • Butterfly
    Butterfly
    munk
    Posts: 94 from 2006/3/27
    Quote:

    Wishmaster wrote:
    I don't know if I understood correctly what you mean, but gg:usr is == usr:

    Yes. What I wanted to say is this: the current use if this location will cause problems with a future GCC update. Thats because the default include location changes from gg: to usr: If usr: and gg: are distinct, then you must move gg:include[std] to usr and you can only do that if you move the current contents of gg:usr/include to a different place, eg. $prefix/include (might be usr:local/include or gg:include(!)), $prefix/ppc-morphos/include or $prefix/os-include. For the latter you have to use setenv C_INCLUDE_PATH.
  • »03.05.06 - 16:44
    Profile