<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 11, 2019, 8:45 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">----- Am 11. Jan 2019 um 15:38 schrieb Sebastian Huber <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank" rel="noreferrer">sebastian.huber@embedded-brains.de</a>:<br>
<br>
> Hello,<br>
> <br>
> why is "/usr" the default prefix? RTEMS does not belong to the host system. I<br>
> think it should be "/opt"<br>
> <br>
> <a href="http://refspecs.linuxbase.org/FHS_3.0/fhs/ch03s13.html#purpose14" rel="noreferrer noreferrer" target="_blank">http://refspecs.linuxbase.org/FHS_3.0/fhs/ch03s13.html#purpose14</a><br>
> <br>
> or "/usr/local"<br>
> <br>
> <a href="http://refspecs.linuxbase.org/FHS_3.0/fhs/ch04s09.html#purpose24" rel="noreferrer noreferrer" target="_blank">http://refspecs.linuxbase.org/FHS_3.0/fhs/ch04s09.html#purpose24</a><br>
<br>
Sorry, I mean why is it "/usr" on Linux.<br>
<br>
Another question, the user manual says in the prefixes section:<br>
<br>
"A further reason not to use the standard prefix is to allow more than one version of RTEMS to exist on your host machine at a time. The autoconf and automake tools required by RTEMS are not versioned and vary between the various versions of RTEMS. If you use a single prefix such as the standard prefix there is a chance parts from a package of different versions may interact. This should not happen but it can."<br>
<br>
I think this is quite inconvenient from RSB to use such a prefix. Why can't it use OS standard prefix (e.g. "/opt" or "/usr/local") + rtems + version, e.g. "/opt/rtems/5" by default? You still have the root permission problem, but the we get rid of the conflicting versions stuff.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">That's essentially what I always do. /opt is a very old convention I remember using on Solaris. Texlive installs there. Personally, I would recommend /opt/rtems/version or something off a home directory that is similar. Again, personally, I create a directory $HOME/rtems-XXX/tools/version where XXX indicates a project or purpose. I add nothing to my PATH until I commit to working in that RTEMS instance. This let's me keep normal work separate from new class instances away from customer project instances.</div><div dir="auto"><br></div><div dir="auto">Forn5heb</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div></div>