<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello, Daniel!<br>
      Thanks for your answer!<br>
      <br>
      My interest about STL containers has quite simple prerequisite. As
      far as I know Genode implementations of data structure
      (particularly, Avl_tree) has some issues and Genodelabs does not
      recommend it for usage in user applications. The reasons that
      issues are still not resolved is quite serious: Genode is kept as
      simple as possible. So, I was thinking about making a kind of
      porting of STL to Genode. But, it seems that this work is
      redundant since it is possible to use containers by means of
      specifying stdcxx in makefile. The only trouble is using Genode
      allocators/new operator instead of native C++ ones.<br>
      <br>
      I have this only in mind and even did not start to do anything. =)<br>
      <br>
      Kind regards,<br>
      Sergey.<br>
      <br>
    </div>
    <blockquote cite="mid:514B27D9.6090101@...161..." type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <font face="Courier 10 Pitch">Hi Sergey,<br>
        <br>
        W.R.T. Genode allocators and STL - I would of thought that you
        would not need to do this directly, but that the Genode stdc++
        port backs onto a port of malloc, that in turn backs onto Genode
        allocator calls.<br>
        <br>
        Is there something specific you are trying to do?<br>
        <br>
        Daniel<br>
        <br>
      </font>
      <div class="moz-cite-prefix">On 03/21/2013 12:30 AM, Norman Feske
        wrote:<br>
      </div>
      <blockquote cite="mid:514AB733.7010101@...1..."
        type="cite">
        <pre wrap="">Hello Sergey,

</pre>
        <blockquote type="cite">
          <pre wrap="">I am sorry for off-topic.
Is it possible to use STL containers using mentioned way? (change target.mk)
</pre>
        </blockquote>
        <pre wrap="">yes. In order to use the C++ standard library, you will need to prepare
it first. To do that, just issue the following command from within the
'libports' repository:

  make prepare PKG=stdcxx

This will download and integrate the library with Genode. Also make sure
that the 'libports' repository is specified in your build directory's
'REPOSITORIES' declaration (in '<build-dir>/etc/build.conf').

Please note, however, that we at Genode Labs don't use the C++ standard
library much. So the stdcxx library does not receive much testing from
our side. If you encounter problems with it, please bear with us. Also,
some modern bits such as C++11 concurrency features are not supported.
The containers should work without problems though.

</pre>
        <blockquote type="cite">
          <pre wrap="">And one more question: how can one use STL containers with Genode new
placement operator?
</pre>
        </blockquote>
        <pre wrap="">I cannot help you here because I lack proficiency with STL. Maybe Daniel
can help out here?

Best regards
Norman

</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/appdyn_d2d_mar">http://p.sf.net/sfu/appdyn_d2d_mar</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Genode-main mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Genode-main@lists.sourceforge.net">Genode-main@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/genode-main">https://lists.sourceforge.net/lists/listinfo/genode-main</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>